How to fix fatal: bad revision 'nonexistent' in Git | DevErrors