I get this error when opening a git repository:
fatal: unable to access \'H:/.config/git/config\': Invalid argument
Where in git is this path being pulled from?<
My situation was that I ran git checkout and I had fatal: unable to access 'H://.gitconfig': Invalid argument. Then I run set HOME and had no results.
The following steps solved the issue
git checkout master started workingIf it happned once again, I would start from step 3 :-)