Phase 1 - 1st billion years
Earths surface covered in volcanoes -> erupted and released lots of gas to form earths early atmosphere
Probably mainly carbon dioxide with virtually no oxygen (similar to Mars and Venus now)
Nitrogen was also released
water vapour, methane and ammonia will have been released in small amounts