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
Thanks @daniel-hilgrath, your answer helped me till an extent, it did solve for that particular session.
But in my case I was using SourceTree and on Windows 7. I had to wipe out the Environment variables completely, not only for particular session. I did following.
SETX HOMEPATH ""
SETX HOMEDRIVE ""
may be this could be useful for someone who is using this on SourceTree.