how to change my local branch in git forcefully to remote branch code example Example: oevrride localwith remote branch git reset --hard origin/master