If you don't want to push your local changes to the remote repository, you can reset the local branch to the state of the remote branch: git reset --hard origin/remote_branch