git pull and rewrite locak branch with remote code example Example: git pull from remote branch overwrite local git reset --hard origin/master