how to overwrite my local repository by pull from remote git code example
Example 1: how to pull and overwrite local changes git
git fetch --all
git reset --hard origin/master
Example 2: git pull from remote branch overwrite local
git reset --hard origin/master