git force update local branch from remote code example Example: oevrride localwith remote branch git reset --hard origin/master