https://onezeronull.com/2023/07/24/synchronize-local-repo-with-remote-keep-or-remove-changes/
Synchronize local repo with remote. Keep or remove changes