The latest update for GitHub tools broke the ability to issue pull and push commands yesterday on my PC. It took me a little while to figure out how to fix it so I figured it was worth sharing. Hopefully this helps you out if you run into this issue too.
Here is the command I tried to run and the error code I received:
C:\GitHub\Property-Inspection-Code-Sample [master ↑]> git push origin master
fatal: unable to access ‘https://github.com/TBag/Property-Inspection-Code-Sample.git/’: error setting certificate verify locations:
CAfile: C:\Program Files\Git\mingw64/bin/curl-ca-bundle.crt
Here’s how I fixed it:
C:\GitHub\Property-Inspection-Code-Sample [master ↑]> git config –global http.sslcainfo “C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt”