How to fix fatal: not under version control, source=file.txt in Git | DevErrors