force a git pull with override code example Example: git force pull git fetch --all git reset --hard origin/master