how to reset git to master code example
Example 1: git reset head of master
git fetch origin
git reset --hard origin/master
Example 2: reset to master git
git fetch origin
git reset --hard origin/master
git fetch origin
git reset --hard origin/master
git fetch origin
git reset --hard origin/master