git fetch master without checkout overwite files code example
Example 1: git pull hard
git reset --hard origin/master
Example 2: oevrride localwith remote branch
git reset --hard origin/master
git reset --hard origin/master
git reset --hard origin/master