github pull and overwrite code example
Example: force git pull overwrite
# if working with newer repos where 'master' is now 'main'
git fetch --all
git reset --hard origin/main
# if working with newer repos where 'master' is now 'main'
git fetch --all
git reset --hard origin/main