How to fix fatal: bad revision 'HEAD~5..HEAD' in Git | DevErrors