git pull remote branch to local force code example Example: git force pull git fetch --all git reset --hard origin/master