how to override master by local changes in git code example Example: oevrride localwith remote branch git reset --hard origin/master