GM says that it will phase out gas and diesel-powered cars by 2035 in favor of a fully electrica lineup. This gives the company a little under 15 years to turn over 98% of its fleet.
GM has said that it has a goal of becoming carbon neutral by 2040. There are plenty of government incentives and tax credits to help them along. Stock of GM rose on this news, having been sluggish for months.