How to fix fatal: Not a valid object name: 'main' in Git | DevErrors