I'm trying to update my Git and by typing the command:
$ git update-git-for-windows
It displays the following error:
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Note: This problem started to appear after updating Windows to 1909.
You can check your current version of Git by running the git --version command in a terminal (Linux, macOS) or command prompt (Windows).
What is Git Bash? Git Bash is an application for Microsoft Windows environments which provides an emulation layer for a Git command line experience. Bash is an acronym for Bourne Again Shell. A shell is a terminal application used to interface with an operating system through written commands.
I am using Kaspersky antivirus, and it was blocking the update.
I just disabled the internet and file protection and the update command worked properly. After that you might just enable the antivirus full protection.
I bumped into this exact error message which occurred while on my corporate machine + VPN after running git update-git-for-windows
in git bash.
C:\Users\[UserName]\AppData\Local\Programs\Git\mingw64\bin
in another Explorer windowgit update-git-for-windows
The download was successful for me after completing these steps. Hopefully this saves another weary soul some time with this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With