How to fix fatal: Does not point to a valid commit: origin/main in Git | DevErrors