Programmers learn & share
0 votes
25 views

Problem :

I am currently using the SourceTree and trying to clone it from the general github repository, but I am facing below error:

“Fatal: unable to access 'https://github.com/mfitzp/15-minute-apps.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Completed with errors, see above.”

How can I resolve it?

by (7.5k points)   | 25 views

1 Answer

0 votes

Solution :

I had faced the same problem in recent past.

First, please update your git version from the https://git-scm.com/downloads

You can also install a 32 version and 64 version

Then you can try to pull your code from a remote repository.

If that doesn't help you, then you need to run the below command to list all your git configurations:

git config --global --list

Please remove all your SSL configuration related settings. Remove only the SSL configurations, like your SSLVersion, etc. You can get your settings name from your above command result. Now the result format will be a ConfigurationName=value. To remove the configurations, please run the below command.

git config --global --unset ConfigurationName

For e.g., if you are trying to remove your user.name configuration

git config --global --unset user.name

After deleting your SSL configurations, please try to pull your code from the remote repository. This time your git will use your default SSL configuration values.

by (36.1k points)  
2,218 questions
2,683 answers
59 comments
241 users