git master -> master (fetch first) code example
Example: * branch master -> FETCH_HEAD
git checkout master
git reset --hard upstream/master
git push --force
git checkout master
git reset --hard upstream/master
git push --force