This error appeared after removal of weak cryptographic standards from Git. There are some algorithms that are already depreciated. In the latest version, they have removed all the depreciated algorithms . They have upgraded security and disabled the old version Transport Security Layer (TLSv 1/TLSv1.1).
In this post, I will not explain the error in details. I will share probably the best way to resolve the error. You may know about the error in details here.
The best option to resolve this error is to upgrade your git version. Follow the steps below to upgrade:
Step 1: Download the Git installer for windows from here
Step 2: Run the installer and install the git in your previous location (example: C:\Program Files\Git) where you installed git before.
(note: It will remove all the custom settings that you have in your current git version)
(note: It will remove all the custom settings that you have in your current git version)
Tips: To know the Git folder path, type the following command in your command prompt (cmd) :
where git
By now, you are done with installation of the latest version git in your machine. You can check the version. Type the command in your cmd :
git --version
Don't hesitate to ask me in comment section.