I am just testing git. I ran the following command:
git config user.email \"test@mail.com\"
I now get this when git status
and oth
I experienced this error message intermittently.
The cause was a VPN connection that I used occasionally. It was blocking access to my networked HOMEDRIVE every time I used it; and git could no longer access the config file.
Clearly not the cause here because you found your solution, but I thought I'd add it here for anyone else searching.