how to overwrite git local branch with upstream code example
Example 1: git replace local branch with remote
git reset --hard origin/master
Example 2: oevrride localwith remote branch
git reset --hard origin/master
git reset --hard origin/master
git reset --hard origin/master