branch develop -> fetch_head meaning code example
Example 1: * branch master -> FETCH_HEAD
git checkout master
git reset --hard upstream/master
git push --force
Example 2: develop -> FETCH_HEAD instead of origin develop
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'