How to fix error: unable to index file 'file.txt' in Git | DevErrors