git overwrite local branch with remote code example
Example 1: git replace local branch with remote
git reset --hard origin/master
Example 2: git overwrite local branch with remote
git reset --hard origin/master
git reset --hard origin/master
git reset --hard origin/master