How to fix error: could not lock config file .git/config: File exists in Git | DevErrors