How to fix fatal: bad revision 'HEAD@{10}' in Git | DevErrors