github how to create a revert commit code example Example: revert commit git git revert <commit hash>