Hydrogen vs. Battery Electric Cars

I am curious to know what’s the carbon footprint is from cradle to grave on gasoline cars , hydrogen cars , electric cars
 from mining the raw materials to getting rid of everything at the end when they’re done .