git delete local branch pull again code example Example: oevrride localwith remote branch git reset --hard origin/master