GMC’s confirmation follows Chevy’s announcement in April that it would release an electric version of the Silverado.