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
git status
I was getting the same error for sourceTree. Setting the HOME environment variable with value C:\ fixed the issue.