SourceTree error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

yu yang Jian picture yu yang Jian · Feb 23, 2018 · Viewed 78.5k times · Source

I'm using SourceTree and try to clone from a general github repository, but I got this 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 to solve it?

Answer

yu yang Jian picture yu yang Jian · Feb 23, 2018

Check Tools > Options > Git in SourceTree, if you're using Use Embedded Git, you can see the git version is 1.9.5 which is old, latest version of git is 2.16.2.

So click Use System Git, if you install the newer version of git, after Use system Git it'll show newer version, then try to clone again it should work fine.

Also see another answer HERE.

enter image description here