how to revert to an old version git code example Example: git revert to old commit git reset --hard c14809fa