$ git pull origin master
fatal: unable to access \'https://xxxxxxxxxxxxxxx\':
error setting certificate verify locations:
CAfile: C:/Users/abc/AppData/Local/P
git config --global http.sslverify "false"
In version 2.x of git-bash The path to the .crt has changed to ../Git/mingw64/ssl/certs/ca-bundle.crt. I had to update this manually in git-bash with
git config --global http.sslcainfo "/path/to/Git/mingw64/ssl/certs/ca-bundle.crt"
I got the same error in Windows 7. Found that the certificate path referred in the error was not existing. Instead of ...\mingw32\usr\ssl... the cert file was in ...\mingw2\ssl... So I created a usr folder manually and moved the entire ssl tree into usr. This fixed the issue.
Thanks to https://github.com/npm/npm/issues/1484
git config --global http.sslverify "false"
will solve the problem
I've got the same error message but in my case it was because I've changed github settings to use ssh instead of https.
And the repository with the problem was cloned with https after removing the remote and re-adding it with ssh it's working as expected.
$git remote remove origin
$git remote add origin git@github.com:UserName/repo.git
Then git remote show origin
is correctly showing the remote.