How to fix fatal: Not a valid object name abc1234 for replace in Git | DevErrors