Why would you want to quit burning hydrocarbons? The combustion product of hydrogen is water vapor, which is a much more potent greenhouse gas than carbon dioxide.
See https://climateer.substack.com/i/60052576/you-thought-the-ma... for a slightly longer explanation.