how to force git pull to overwrite github application 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