A brief history of the Earth's CO2