go beck in git to commit code example
Example 1: git pull from previous commit
git checkout -b old-state 0d1d7fc32
Example 2: how discharge changes e recover last commit git
git clean -fd
git checkout -b old-state 0d1d7fc32
git clean -fd