Well I am having the same problem , which I got resolved when I checked my .gitconfig file
I accidentally added a few lines in that file, so removing those works for me If you are getting same issue delete the file and folder
Then uninstall and again install (or remove if there is anything extra in your .gitconfig file)
This should work!