How to fix fatal: HEAD is broken in Git | DevErrors