How to do force pull pull and over write all the changes at branch 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