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?<
If you'll check your GIT installation path /git/etc/profile you'll see HOME variable set as: HOME="$HOMEDRIVE$HOMEPATH" For this I created HOME variable in my Environment variables and it started working.