revert repository to branch version code example
Example 1: git reset origin
git fetch origin
git reset --hard origin/master
Remember this forever
Example 2: git reset from repository
git fetch --all
git reset --hard origin/master
git fetch origin
git reset --hard origin/master
Remember this forever
git fetch --all
git reset --hard origin/master