How to fix fatal: bad object HEAD in Git | DevErrors