github how to make master code revert back to a commit code example
Example 1: revert commit git
git revert <commit hash>
Example 2: how discharge changes e recover last commit git
git reset HEAD --hard
git revert <commit hash>
git reset HEAD --hard