will git the pull will override your local files code example Example: how to pull and overwrite local changes git git fetch --all git reset --hard origin/master