Yes, all tradional Pontiac V8 (287,317,326,347,350,370,389,400,421,428,455) heads will physically bolt to all blocks. The later 265/301 will bolt to older blocks also but the water passages between the head and block are different and there is no available intake manifold. 6X heads came on Pontiac 350-400 from 1975-1979. no 455s were factory equiped with 6X heads. There are two versions of the 6X, one stamped "4" and one stamped "8" the heads stamped 4 have smaller combustion chambers around 94 cc, the one stamped 8 are about 100-101cc. The 6X-8 head would give very low compression (about 7-1) the 6X-4 would be better but is still only about 7.6-1. High valve lifts can cause valve to cylinder wall interference on 350s since the bore is only 3.88".
Gas engine
the 2002 Pontiac Montana came with a 3.4L engine.
Some Pontiacs came from the factory with Chevy engines. If this is the case on your 79 firebird, then the transmission will bolt up to a 350 Chevy. If the car came with a Pontiac engine, then the bolt pattern is different and would not bolt up.
Vortec heads didn't come around until the 90's. So that would be false.
The 99 Pontiac Bonneville, Firebird and Grand Prix came with the 3.8 engine. The Sunfire came with the 2.2 or the 2.4. The Montana came with the 3.4. The Grand Am came with the 2.4 or the 3.4. The Firebird Trans Am and the Firebird Formula, the 5.7. Only the Grand Prix SE came with the 3.1.
A 350 Oldsmobile engine has a different bolt pattern than the Chevrolet engine. The 350 Olds and 350 Pontiac engines have the same bolt pattern. The 350 Chevrolet and the 350 Buick engines have the same bolt pattern. Unless you have a dual bolt pattern transmission (there are some out there) in that Chevy, the Olds engine won't bolt into the Chevy transmission.
Check the brake fluid...
The Cummins engines are designed and manufactured by the Cummins engine company.
No Camaro ever came from GM with the Z06 engine
Fieros came with 2 differnent stock motors, a 2.5 liter 4 cylinder, and a 2.8 liter v6
The swap isn't a direct swap. At the least you'll need to move the frame mounts. These cars came with multiple engine options throughout the years. So a lot of engines will bolt in without too much trouble. For sure the Chevy 350, the Olds 350, and since the Grand Prix came with a 301 Pontiac at one point, the Pontiac 350 should also fit. You'll just need to figure out where to move the frame mounts and get the correct engine mount. Depending on the engine chosen you may need to change transmissions also.
the engines serial number should match that of the cars