How to fix fatal: Path 'file.txt' does not exist in 'HEAD' in Git | DevErrors