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?<
net delete is not a must.
First check HOME setting, then change HOME and HOMEDRIVE to a existing dir.
c:\git\selenium-automation>set HOME
HOME=U:\
HOMEDRIVE=U:
HOMEPATH=\
HOMESHARE=\\XX
then change HOME and HOMEDRIVE by
set HOME=c:\tmp
set HOMEDRIVE=C:
c:\git\selenium-automation>set HOME
HOME=c:\tmp
HOMEDRIVE=c:
HOMEPATH=\
HOMESHARE=\\XX