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?<
May be this will help some one who is on windows 10.
Assuming if you have network drive and you are facing the above error
Step 1: Hit windows key and type Environment Variables
Step 2: In the Advanced > Under startup and recovery > environment variables > Under 'variables section` Step 3: Specify your path like below.
This will definitely work even for source tree or actual git problem. Thanks