how to go to old commit in git code example Example: git revert to old commit git reset --hard c14809fa