replace everything in the remote repository with what you have locally code example Example: oevrride localwith remote branch git reset --hard origin/master