How to fix fatal: can not move directory into itself in Git | DevErrors