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