git pull origin master making a copy that overrides changes code example Example: oevrride localwith remote branch git reset --hard origin/master