how to reverse to a old commit git code example Example: git revert to old commit git reset --hard c14809fa