Verified Answer :

don't fully quote  me on this but I think it was hydrogen

zainB

The water vapor, carbon dioxide, and methane acted as greenhouse gases, trapping heat and insulating the early Earth during a critical period in its development. Of oxygen, meanwhile, the early atmosphere held barely a trace.