How to fix fatal: Needed a single revision in Git | DevErrors