Git: SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Created on 24 Feb 2018  Â·  58Comments  Â·  Source: git-for-windows/git

Hi,

I had installed git 2.16 version installed with window 7 32 bit. I am using PHPStorm with git integration. Pull, Push was working fine upto 22 Feb 2018. But from 23 Feb 2018 I am getting below error when Pull or Push on git.

Failed with error: fatal: unable to access 'https://github.com/strattas/hos.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

May I know plz what issue is it and how I can resolve this?

Thanks

question

All 58 comments

Github has disabled weak TLS protocols: https://github.com/blog/2507-weak-cryptographic-standards-removed

Can you try to run the git pull from the Git bash outside of PHPStorm in order to determine whether this is a Git issue or a PHPStorm issue?

I can confirm I have this same problem using git directly from the ming32/bash console.

$ git --version
git version 1.9.5.msysgit.0

fatal: unable to access 'https://github.com/BigWigsMods/BigWigs.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

@jmylchreest You are using an ancient and no longer supported msysgit build of Git. Please update to the most recent release and check again.

Ah, thats interesting thanks. I actually had the new git-for-windows installed but the old version was still there and the git bin from that was being used. Uninstalled it by navigating to the uninstaller in the x86
program files dir, reinstalled the newer version again and it's working correctly now! Could this be the same problem you have @mtkumar82?

Thanks.

@mtkumar82 it would have been a good idea to fill out the bug reporting template (instead of ignoring and deleting it). In particular the output of git version --build-options would have answered @jmylchreest's helpful question.

Hi,
I installed my older version of git and removed all directory from my system and the install git again. I have git version :

git version 2.16.2.windows.1
cpu: x86_64
built from commit: e1848984d1004040ec5199e749b5f282ddf4bb09
sizeof-long: 4

Which I installed on Saturday, But still facing same issue. Not able to pull or commit. Very strange and difficult situation for me..

I even tried with direct command from git command prompt.
$ git push
fatal: unable to access 'https://github.com/strattas/hos.git/': error:1407742E:S SL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Still same error.

Plz help me sort out this issue, very urgent...

Thanks

@mtkumar82

Could you confirm you are running a known good version of the Git Credential Manager:

$ git credential-manager version

And also attach the output from this command:

$ GIT_CURL_VERBOSE=1 git push

This will show some additional tracing around how it's erroring

Hi,
Thanks for your reply, Please check below for information.

$ git credential-manager version
Git Credential Manager for Windows version 1.14.0.

GIT_CURL_VERBOSE=1 git push

  • STATE: INIT => CONNECT handle 0x72b928; line 1392 (connection #-5000)
  • Couldn't find host github.com in the _netrc file; using defaults
  • Added connection 0. The cache now contains 1 members
  • STATE: CONNECT => WAITRESOLVE handle 0x72b928; line 1428 (connection #0)
  • Trying 13.229.188.59...
  • TCP_NODELAY set
  • STATE: WAITRESOLVE => WAITCONNECT handle 0x72b928; line 1509 (connection #0)
  • Connected to github.com (13.229.188.59) port 443 (#0)
  • STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x72b928; line 1561 (connection #0)
  • Marked for [keep alive]: HTTP default
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • successfully set certificate verify locations:
  • CAfile: C:/Program Files/Git/mingw32/ssl/certs/ca-bundle.crt
    CApath: none
  • STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x72b928; line 1575 (connection #0)
  • error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
  • Marked for [closure]: Failed HTTPS connection
  • multi_done
  • stopped the pause stream!
  • Closing connection 0
  • The cache now contains 0 members
  • Expire cleared
    fatal: unable to access 'https://github.com/strattas/hos.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Plz check.

Thanks

@mtkumar82 You're still not getting a TLSv1.2 connection. What's the output of curl --version in Git Bash?

Hello @bbolli , I am still facing the same issue. I learned lot of articles to resolve it, But none help. Below are the details of curl version

curl 7.58.0 (i686-w64-mingw32) libcurl/7.58.0 OpenSSL/1.0.2n (WinSSL) zlib/1.2.1 libidn2/2.0.4 nghttp2/1.29.0
Release-Date: 2018-01-24
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3 rtsp smtp smtps telnet tftp
Features: AsynchDNS Debug IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libzTLS-SRP HTTP2 HTTPS-proxy MultiSSL Metalink

Please let me know what wrong here and how I can quickly resolve this?

Thanks.

Please let me know what wrong here

Github has disabled the versions 1.0 and 1.1 of the TLS protocol on their servers and your Git insists on using one of the disabled versions.

and how I can quickly resolve this?

That's what we're trying to find out here, so your help and patience is appreciated.

What's the output of openssl s_client -connect github.com:443 -msg? (please wait up to half a minute to let the command time out after openssl prints three dashes ---)

Hello @bbolli ,

Thanks you are looking into this issue, below are the output I get from above command.

CONNECTED(0000015C)

TLS 1.2 [length 0005]
16 03 01 01 2f
TLS 1.2 Handshake [length 012f], ClientHello
01 00 01 2b 03 03 b0 88 78 38 90 b0 a8 49 60 f8
37 85 4e 4a 2c 8d ac e6 9c fb 8b 15 c4 1e 34 b3
22 b7 65 7d 04 45 00 00 ac c0 30 c0 2c c0 28 c0
24 c0 14 c0 0a 00 a5 00 a3 00 a1 00 9f 00 6b 00
6a 00 69 00 68 00 39 00 38 00 37 00 36 00 88 00
87 00 86 00 85 c0 32 c0 2e c0 2a c0 26 c0 0f c0
05 00 9d 00 3d 00 35 00 84 c0 2f c0 2b c0 27 c0
23 c0 13 c0 09 00 a4 00 a2 00 a0 00 9e 00 67 00
40 00 3f 00 3e 00 33 00 32 00 31 00 30 00 9a 00
99 00 98 00 97 00 45 00 44 00 43 00 42 c0 31 c0
2d c0 29 c0 25 c0 0e c0 04 00 9c 00 3c 00 2f 00
96 00 41 00 07 c0 11 c0 07 c0 0c c0 02 00 05 00
04 c0 12 c0 08 00 16 00 13 00 10 00 0d c0 0d c0
03 00 0a 00 ff 02 01 00 00 55 00 0b 00 04 03 00
01 02 00 0a 00 1c 00 1a 00 17 00 19 00 1c 00 1b
00 18 00 1a 00 16 00 0e 00 0d 00 0b 00 0c 00 09
00 0a 00 23 00 00 00 0d 00 20 00 1e 06 01 06 02
06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01
03 02 03 03 02 01 02 02 02 03 00 0f 00 01 01
<<< ??? [length 0005]
16 03 03 00 59
<<< TLS 1.2 Handshake [length 0059], ServerHello
02 00 00 55 03 03 9e 34 cc 13 c8 45 29 1c f8 28
6d 4c 6a ed 2a 49 75 0e fb d1 fd 53 60 7e 98 6a
45 c3 6f 73 1f 09 20 26 6b 00 93 a2 0d 31 a8 3e
1b 91 83 f4 a3 9f 3d 70 d1 9b ec 09 38 f8 b4 9c
70 bb 53 7e 12 9d 87 c0 2f 00 00 0d ff 01 00 01
00 00 0b 00 04 03 00 01 02
<<< ??? [length 0005]
16 03 03 0c 44
<<< TLS 1.2 Handshake [length 0c44], Certificate
0b 00 0c 40 00 0c 3d 00 07 7d 30 82 07 79 30 82
06 61 a0 03 02 01 02 02 10 0b fd b4 09 0a d7 b5
e6 40 c3 0b 16 c9 52 9a 27 30 0d 06 09 2a 86 48
86 f7 0d 01 01 0b 05 00 30 75 31 0b 30 09 06 03
55 04 06 13 02 55 53 31 15 30 13 06 03 55 04 0a
13 0c 44 69 67 69 43 65 72 74 20 49 6e 63 31 19
30 17 06 03 55 04 0b 13 10 77 77 77 2e 64 69 67
69 63 65 72 74 2e 63 6f 6d 31 34 30 32 06 03 55
04 03 13 2b 44 69 67 69 43 65 72 74 20 53 48 41
32 20 45 78 74 65 6e 64 65 64 20 56 61 6c 69 64
61 74 69 6f 6e 20 53 65 72 76 65 72 20 43 41 30
1e 17 0d 31 36 30 33 31 30 30 30 30 30 30 30 5a
17 0d 31 38 30 35 31 37 31 32 30 30 30 30 5a 30
81 fd 31 1d 30 1b 06 03 55 04 0f 0c 14 50 72 69
76 61 74 65 20 4f 72 67 61 6e 69 7a 61 74 69 6f
6e 31 13 30 11 06 0b 2b 06 01 04 01 82 37 3c 02
01 03 13 02 55 53 31 19 30 17 06 0b 2b 06 01 04
01 82 37 3c 02 01 02 13 08 44 65 6c 61 77 61 72
65 31 10 30 0e 06 03 55 04 05 13 07 35 31 35 37
35 35 30 31 24 30 22 06 03 55 04 09 13 1b 38 38
20 43 6f 6c 69 6e 20 50 20 4b 65 6c 6c 79 2c 20
4a 72 20 53 74 72 65 65 74 31 0e 30 0c 06 03 55
04 11 13 05 39 34 31 30 37 31 0b 30 09 06 03 55
04 06 13 02 55 53 31 13 30 11 06 03 55 04 08 13
0a 43 61 6c 69 66 6f 72 6e 69 61 31 16 30 14 06
03 55 04 07 13 0d 53 61 6e 20 46 72 61 6e 63 69
73 63 6f 31 15 30 13 06 03 55 04 0a 13 0c 47 69
74 48 75 62 2c 20 49 6e 63 2e 31 13 30 11 06 03
55 04 03 13 0a 67 69 74 68 75 62 2e 63 6f 6d 30
82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01
05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 00
e7 88 5c f2 96 5c 97 18 1c ba 98 e2 03 f1 7f 39
91 91 c2 6f d9 96 e7 28 40 64 cd 4c a9 81 12 03
6c ae 7f e6 c6 19 e0 5a 63 f0 6c 0b d4 68 b3 ff
fd 3e fd 25 cf b5 59 73 29 c4 c8 b3 f4 f2 ba c9
94 51 16 e2 28 d1 dd 9b c7 8d b7 34 0e a1 38 bd
91 4e d6 e7 7e cf b2 d0 f1 52 fd 84 e9 41 27 a5
4e ea be 16 ec 2d b3 9b fa 68 0c 1e 37 23 1c 60
3d 07 07 26 e4 91 da 2c 16 80 dc 70 13 73 27 dd
80 73 c2 39 11 50 d4 73 73 ab ff 88 d2 c9 9c 33
c6 ef 64 76 60 65 07 37 87 32 fb 2a 74 7f 12 5f
d9 8d 6a 15 ed 5f 14 69 c1 99 c1 89 48 f0 df a3
e0 37 eb 3d 18 b5 86 ad a7 dd d3 64 f4 bb 1f 58
cd de 5e ce 43 31 ba 4a 84 01 0e c0 28 82 22 8e
f6 96 3c 02 5b 2b fe 76 5c b8 48 cb 6b e9 18 dc
a5 ca 78 bf 0d 00 f5 f1 b0 4f 4f e6 46 d6 eb f4
41 03 fd 2e e6 3f 8e 83 be 14 a0 ce 4e 57 ab e3
02 03 01 00 01 a3 82 03 7a 30 82 03 76 30 1f 06
03 55 1d 23 04 18 30 16 80 14 3d d3 50 a5 d6 a0
ad ee f3 4a 60 0a 65 d3 21 d4 f8 f8 d6 0f 30 1d
06 03 55 1d 0e 04 16 04 14 88 5c 48 67 19 cc a0
76 59 2d 11 79 c3 be a2 ac 87 22 27 5b 30 25 06
03 55 1d 11 04 1e 30 1c 82 0a 67 69 74 68 75 62
2e 63 6f 6d 82 0e 77 77 77 2e 67 69 74 68 75 62
2e 63 6f 6d 30 0e 06 03 55 1d 0f 01 01 ff 04 04
03 02 05 a0 30 1d 06 03 55 1d 25 04 16 30 14 06
08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 05
07 03 02 30 75 06 03 55 1d 1f 04 6e 30 6c 30 34
a0 32 a0 30 86 2e 68 74 74 70 3a 2f 2f 63 72 6c
33 2e 64 69 67 69 63 65 72 74 2e 63 6f 6d 2f 73
68 61 32 2d 65 76 2d 73 65 72 76 65 72 2d 67 31
2e 63 72 6c 30 34 a0 32 a0 30 86 2e 68 74 74 70
3a 2f 2f 63 72 6c 34 2e 64 69 67 69 63 65 72 74
2e 63 6f 6d 2f 73 68 61 32 2d 65 76 2d 73 65 72
76 65 72 2d 67 31 2e 63 72 6c 30 4b 06 03 55 1d
20 04 44 30 42 30 37 06 09 60 86 48 01 86 fd 6c
02 01 30 2a 30 28 06 08 2b 06 01 05 05 07 02 01
16 1c 68 74 74 70 73 3a 2f 2f 77 77 77 2e 64 69
67 69 63 65 72 74 2e 63 6f 6d 2f 43 50 53 30 07
06 05 67 81 0c 01 01 30 81 88 06 08 2b 06 01 05
05 07 01 01 04 7c 30 7a 30 24 06 08 2b 06 01 05
05 07 30 01 86 18 68 74 74 70 3a 2f 2f 6f 63 73
70 2e 64 69 67 69 63 65 72 74 2e 63 6f 6d 30 52
06 08 2b 06 01 05 05 07 30 02 86 46 68 74 74 70
3a 2f 2f 63 61 63 65 72 74 73 2e 64 69 67 69 63
65 72 74 2e 63 6f 6d 2f 44 69 67 69 43 65 72 74
53 48 41 32 45 78 74 65 6e 64 65 64 56 61 6c 69
64 61 74 69 6f 6e 53 65 72 76 65 72 43 41 2e 63
72 74 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00
30 82 01 7f 06 0a 2b 06 01 04 01 d6 79 02 04 02
04 82 01 6f 04 82 01 6b 01 69 00 76 00 a4 b9 09
90 b4 18 58 14 87 bb 13 a2 cc 67 70 0a 3c 35 98
04 f9 1b df b8 e3 77 cd 0e c8 0d dc 10 00 00 01
53 61 89 ea 1e 00 00 04 03 00 47 30 45 02 21 00
87 1d 21 18 fd 13 8a db fb 0e 96 36 ca 68 d1 1c
29 6c fa 07 11 c9 34 f3 ad 8d 2c ae 56 74 a7 e1
02 20 27 a4 6a bd 86 d2 5f 5b ca 2d e5 fb be 99
ce 7c 20 1f 4b 66 3c 94 1e 51 34 cc 24 ea eb 36
42 20 00 76 00 68 f6 98 f8 1f 64 82 be 3a 8c ee
b9 28 1d 4c fc 71 51 5d 67 93 d4 44 d1 0a 67 ac
bb 4f 4f fb c4 00 00 01 53 61 89 e9 e7 00 00 04
03 00 47 30 45 02 21 00 d9 a5 de 52 fb 7b 68 f2
4e e5 70 37 96 06 18 89 01 28 98 4e 4d ab 34 04
f6 ea 55 5a 33 7c 61 5b 02 20 35 4a ab 90 83 83
66 94 60 fa 48 61 a7 c6 a0 eb 90 7c 9a ed 29 e0
95 00 9a 44 43 6e 26 27 46 f6 00 77 00 56 14 06
9a 2f d7 c2 ec d3 f5 e1 bd 44 b2 3e c7 46 76 b9
bc 99 11 5c c0 ef 94 98 55 d6 89 d0 dd 00 00 01
53 61 89 ea 99 00 00 04 03 00 48 30 46 02 21 00
e7 9b 75 92 b6 5b c4 f7 d1 82 8b 34 b1 f9 41 ad
1a 64 24 d9 64 e8 92 83 e0 a3 58 5f 8a ff 33 20
02 21 00 fa d8 79 7a c1 82 c7 80 f6 35 16 5a 80
78 22 f9 9c 66 db 21 8d 7b 28 9d 3f 0c 20 6d 6e
d7 31 7c 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b
05 00 03 82 01 01 00 8b 6c db 64 c6 eb 29 ab 27
2a f2 1d 44 a5 b9 80 5f 4c 0c e4 3a 16 ee 13 3f
15 57 73 e0 b2 77 2a 67 ed ca 4d 72 77 c8 ff 3d
2c 51 ac 04 0d d8 ca ff 7e b2 9e 2b c3 44 d5 c3
23 8b 7d a6 25 b0 6a a5 6b 4a ff ec 02 f9 ab cf
a6 50 54 6c da 73 3f 9d dc b9 33 05 fd 0b 2c c4
8b 4f 18 d3 f9 fc e4 fd 02 3d 41 c4 0f cd a1 f5
99 2a 1e 2e 7d 5e dc cf 7a 58 44 34 b8 04 5f 84
10 54 38 97 91 98 fb 2a 78 58 90 3f c5 2b d8 b1
31 d6 79 6c 51 0f 5f e7 97 ad bf 45 df 45 37 63
64 69 c4 55 a3 30 b1 45 59 5e 16 b0 47 4c 5c 6a
20 fe a4 0e 7c 62 2c 49 41 ad 99 e0 b5 8d 3b 89
eb 5a 61 95 4b 40 df c4 4f 2a 8b 41 fb 6c 7f c4
de 73 04 e4 95 b8 ef 9b c3 53 26 a6 da 21 58 9f
63 0a b0 34 df b8 95 1c 52 dc 5e 65 36 50 3f 8a
5d 76 20 e8 1b 46 2a 0b 23 ad a8 f0 6d 03 68 45
10 80 73 5f f2 f4 86 00 04 ba 30 82 04 b6 30 82
03 9e a0 03 02 01 02 02 10 0c 79 a9 44 b0 8c 11
95 20 92 61 5f e2 6b 1d 83 30 0d 06 09 2a 86 48
86 f7 0d 01 01 0b 05 00 30 6c 31 0b 30 09 06 03
55 04 06 13 02 55 53 31 15 30 13 06 03 55 04 0a
13 0c 44 69 67 69 43 65 72 74 20 49 6e 63 31 19
30 17 06 03 55 04 0b 13 10 77 77 77 2e 64 69 67
69 63 65 72 74 2e 63 6f 6d 31 2b 30 29 06 03 55
04 03 13 22 44 69 67 69 43 65 72 74 20 48 69 67
68 20 41 73 73 75 72 61 6e 63 65 20 45 56 20 52
6f 6f 74 20 43 41 30 1e 17 0d 31 33 31 30 32 32
31 32 30 30 30 30 5a 17 0d 32 38 31 30 32 32 31
32 30 30 30 30 5a 30 75 31 0b 30 09 06 03 55 04
06 13 02 55 53 31 15 30 13 06 03 55 04 0a 13 0c
44 69 67 69 43 65 72 74 20 49 6e 63 31 19 30 17
06 03 55 04 0b 13 10 77 77 77 2e 64 69 67 69 63
65 72 74 2e 63 6f 6d 31 34 30 32 06 03 55 04 03
13 2b 44 69 67 69 43 65 72 74 20 53 48 41 32 20
45 78 74 65 6e 64 65 64 20 56 61 6c 69 64 61 74
69 6f 6e 20 53 65 72 76 65 72 20 43 41 30 82 01
22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00
03 82 01 0f 00 30 82 01 0a 02 82 01 01 00 d7 53
a4 04 51 f8 99 a6 16 48 4b 67 27 aa 93 49 d0 39
ed 0c b0 b0 00 87 f1 67 28 86 85 8c 8e 63 da bc
b1 40 38 e2 d3 f5 ec a5 05 18 b8 3d 3e c5 99 17
32 ec 18 8c fa f1 0c a6 64 21 85 cb 07 10 34 b0
52 88 2b 1f 68 9b d2 b1 8f 12 b0 b3 d2 e7 88 1f
1f ef 38 77 54 53 5f 80 79 3f 2e 1a aa a8 1e 4b
2b 0d ab b7 63 b9 35 b7 7d 14 bc 59 4b df 51 4a
d2 a1 e2 0c e2 90 82 87 6a ae ea d7 64 d6 98 55
e8 fd af 1a 50 6c 54 bc 11 f2 fd 4a f2 9d bb 7f
0e f4 d5 be 8e 16 89 12 55 d8 c0 71 34 ee f6 dc
2d ec c4 87 25 86 8d d8 21 e4 b0 4d 0c 89 dc 39
26 17 dd f6 d7 94 85 d8 04 21 70 9d 6f 6f ff 5c
ba 19 e1 45 cb 56 57 28 7e 1c 0d 41 57 aa b7 b8
27 bb b1 e4 fa 2a ef 21 23 75 1a ad 2d 9b 86 35
8c 9c 77 b5 73 ad d8 94 2d e4 f3 0c 9d ee c1 4e
62 7e 17 c0 71 9e 2c de f1 f9 10 28 19 33 02 03
01 00 01 a3 82 01 49 30 82 01 45 30 12 06 03 55
1d 13 01 01 ff 04 08 30 06 01 01 ff 02 01 00 30
0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 01 86 30
1d 06 03 55 1d 25 04 16 30 14 06 08 2b 06 01 05
05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 34
06 08 2b 06 01 05 05 07 01 01 04 28 30 26 30 24
06 08 2b 06 01 05 05 07 30 01 86 18 68 74 74 70
3a 2f 2f 6f 63 73 70 2e 64 69 67 69 63 65 72 74
2e 63 6f 6d 30 4b 06 03 55 1d 1f 04 44 30 42 30
40 a0 3e a0 3c 86 3a 68 74 74 70 3a 2f 2f 63 72
6c 34 2e 64 69 67 69 63 65 72 74 2e 63 6f 6d 2f
44 69 67 69 43 65 72 74 48 69 67 68 41 73 73 75
72 61 6e 63 65 45 56 52 6f 6f 74 43 41 2e 63 72
6c 30 3d 06 03 55 1d 20 04 36 30 34 30 32 06 04
55 1d 20 00 30 2a 30 28 06 08 2b 06 01 05 05 07
02 01 16 1c 68 74 74 70 73 3a 2f 2f 77 77 77 2e
64 69 67 69 63 65 72 74 2e 63 6f 6d 2f 43 50 53
30 1d 06 03 55 1d 0e 04 16 04 14 3d d3 50 a5 d6
a0 ad ee f3 4a 60 0a 65 d3 21 d4 f8 f8 d6 0f 30
1f 06 03 55 1d 23 04 18 30 16 80 14 b1 3e c3 69
03 f8 bf 47 01 d4 98 26 1a 08 02 ef 63 64 2b c3
30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 03
82 01 01 00 9d b6 d0 90 86 e1 86 02 ed c5 a0 f0
34 1c 74 c1 8d 76 cc 86 0a a8 f0 4a 8a 42 d6 3f
c8 a9 4d ad 7c 08 ad e6 b6 50 b8 a2 1a 4d 88 07
b1 29 21 dc e7 da c6 3c 21 e0 e3 11 49 70 ac 7a
1d 01 a4 ca 11 3a 57 ab 7d 57 2a 40 74 fd d3 1d
85 18 50 df 57 47 75 a1 7d 55 20 2e 47 37 50 72
8c 7f 82 1b d2 62 8f 2d 03 5a da c3 c8 a1 ce 2c
52 a2 00 63 eb 73 ba 71 c8 49 27 23 97 64 85 9e
38 0e ad 63 68 3c ba 52 81 58 79 a3 2c 0c df de
6d eb 31 f2 ba a0 7c 6c f1 2c d4 e1 bd 77 84 37
03 ce 32 b5 c8 9a 81 1a 4a 92 4e 3b 46 9a 85 fe
83 a2 f9 9e 8c a3 cc 0d 5e b3 3d cf 04 78 8f 14
14 7b 32 9c c7 00 a6 5c c4 b5 a1 55 8d 5a 56 68
a4 22 70 aa 3c 81 71 d9 9d a8 45 3b f4 e5 f6 a2
51 dd c7 7b 62 e8 6f 0c 74 eb b8 da f8 bf 87 0d
79 50 91 90 9b 18 3b 91 59 27 f1 35 28 13 ab 26
7e d5 f7 7a
<<< ??? [length 0005]
16 03 03 01 4d
<<< TLS 1.2 Handshake [length 014d], ServerKeyExchange
0c 00 01 49 03 00 17 41 04 a6 f3 6b 97 3c 2e c1
fe b2 0b f3 e5 c1 99 31 15 7d d9 19 91 e6 a3 48
f6 31 f0 c6 26 f6 f3 0d 5f 6e 0e bc 98 35 51 80
05 52 1f 66 6e 3c 81 60 72 15 47 4c e2 e1 c2 6e
4f cd 78 f2 1a 02 db 84 77 06 01 01 00 32 68 d8
c8 12 b9 e8 db d9 2a 8e 83 91 31 da cd 38 0c d1
76 8e cb c6 bc 6c 87 2d e4 41 c9 6c 1c a2 8c d8
3b 6d 73 c8 17 19 43 34 1e 8d e7 2c 76 25 ef 65
2a be 56 44 15 e1 53 41 d8 07 9e 4f 7b f2 68 6c
a9 94 61 a6 39 ee 9a 10 f2 1d 1d df 9a 53 58 95
53 22 bd 2f 43 e2 1c 68 e5 16 75 d9 43 31 9c d3
7e ae 6c 2e 41 20 b2 35 c7 fa 96 30 2b 19 b4 ba
15 77 ad 04 cf f9 09 83 5b 81 a9 77 89 4c 3c 44
db a4 85 ea 5f a3 5e 00 11 b9 64 6d 58 d2 50 8a
1f a4 9d c4 5c 6f ea 52 ee aa 28 24 80 7e b2 f8
96 e0 66 85 cd 35 96 05 f8 bc 35 3a a4 85 08 80
f7 fa 10 1c 37 f6 ab c0 17 13 a0 29 97 f4 af b2
98 f4 16 48 22 e9 5c 70 32 4e 7a e3 7e 3d 32 7b
c6 2f f7 0e b1 01 24 18 bb c8 63 d6 c4 5d 4e 84
6e ce 6e 8b 83 d6 95 f6 e7 f5 e1 5f 5d af a1 83
87 12 40 7e 29 a8 b5 34 18 05 de 00 cf
<<< ??? [length 0005]
16 03 03 00 04
<<< TLS 1.2 Handshake [length 0004], ServerHelloDone
0e 00 00 00
??? [length 0005]
16 03 03 00 46
TLS 1.2 Handshake [length 0046], ClientKeyExchange
10 00 00 42 41 04 ca f1 96 c6 96 d9 b3 2c ac 96
89 3e 7b b8 1a bb 83 c8 39 76 6a 4c c6 6f f4 62
d7 cd fb 87 ae df 91 c6 fb 91 72 fb 0c eb c8 c5
09 4f 03 17 4f 63 30 40 d9 e0 56 a4 52 b5 b7 f0
75 75 20 76 17 28
??? [length 0005]
14 03 03 00 01
TLS 1.2 ChangeCipherSpec [length 0001]
01
??? [length 0005]
16 03 03 00 28
TLS 1.2 Handshake [length 0010], Finished
14 00 00 0c 6d 8f 35 36 18 fa ea ec 79 5b 1e 9e
<<< ??? [length 0005]
14 03 03 00 01
<<< TLS 1.2 ChangeCipherSpec [length 0001]
01
<<< ??? [length 0005]
16 03 03 00 28
<<< TLS 1.2 Handshake [length 0010], Finished

14 00 00 0c f2 27 2e e8 26 5e 6e 5b 1f 97 cb 06

Certificate chain
0 s:/businessCategory=Private Organization/jurisdictionC=US/jurisdictionST=Delaware/serialNumber=5157550/street=88 Colin P Kelly, Jr Street/postalCode=94107/C=US/ST=California/L=San Francisco/O=GitHub, Inc./CN=github.com
i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA
1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA

i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA

Server certificate
-----BEGIN CERTIFICATE-----
MIIHeTCCBmGgAwIBAgIQC/20CQrXteZAwwsWyVKaJzANBgkqhkiG9w0BAQsFADB1
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMTQwMgYDVQQDEytEaWdpQ2VydCBTSEEyIEV4dGVuZGVk
IFZhbGlkYXRpb24gU2VydmVyIENBMB4XDTE2MDMxMDAwMDAwMFoXDTE4MDUxNzEy
MDAwMFowgf0xHTAbBgNVBA8MFFByaXZhdGUgT3JnYW5pemF0aW9uMRMwEQYLKwYB
BAGCNzwCAQMTAlVTMRkwFwYLKwYBBAGCNzwCAQITCERlbGF3YXJlMRAwDgYDVQQF
Ewc1MTU3NTUwMSQwIgYDVQQJExs4OCBDb2xpbiBQIEtlbGx5LCBKciBTdHJlZXQx
DjAMBgNVBBETBTk0MTA3MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5p
YTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEVMBMGA1UEChMMR2l0SHViLCBJbmMu
MRMwEQYDVQQDEwpnaXRodWIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEA54hc8pZclxgcupjiA/F/OZGRwm/ZlucoQGTNTKmBEgNsrn/mxhngWmPw
bAvUaLP//T79Jc+1WXMpxMiz9PK6yZRRFuIo0d2bx423NA6hOL2RTtbnfs+y0PFS
/YTpQSelTuq+Fuwts5v6aAweNyMcYD0HBybkkdosFoDccBNzJ92Ac8I5EVDUc3Or
/4jSyZwzxu9kdmBlBzeHMvsqdH8SX9mNahXtXxRpwZnBiUjw36PgN+s9GLWGrafd
02T0ux9Yzd5ezkMxukqEAQ7AKIIijvaWPAJbK/52XLhIy2vpGNylyni/DQD18bBP
T+ZG1uv0QQP9LuY/joO+FKDOTler4wIDAQABo4IDejCCA3YwHwYDVR0jBBgwFoAU
PdNQpdagre7zSmAKZdMh1Pj41g8wHQYDVR0OBBYEFIhcSGcZzKB2WS0RecO+oqyH
IidbMCUGA1UdEQQeMByCCmdpdGh1Yi5jb22CDnd3dy5naXRodWIuY29tMA4GA1Ud
DwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwdQYDVR0f
BG4wbDA0oDKgMIYuaHR0cDovL2NybDMuZGlnaWNlcnQuY29tL3NoYTItZXYtc2Vy
dmVyLWcxLmNybDA0oDKgMIYuaHR0cDovL2NybDQuZGlnaWNlcnQuY29tL3NoYTIt
ZXYtc2VydmVyLWcxLmNybDBLBgNVHSAERDBCMDcGCWCGSAGG/WwCATAqMCgGCCsG
AQUFBwIBFhxodHRwczovL3d3dy5kaWdpY2VydC5jb20vQ1BTMAcGBWeBDAEBMIGI
BggrBgEFBQcBAQR8MHowJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0
LmNvbTBSBggrBgEFBQcwAoZGaHR0cDovL2NhY2VydHMuZGlnaWNlcnQuY29tL0Rp
Z2lDZXJ0U0hBMkV4dGVuZGVkVmFsaWRhdGlvblNlcnZlckNBLmNydDAMBgNVHRMB
Af8EAjAAMIIBfwYKKwYBBAHWeQIEAgSCAW8EggFrAWkAdgCkuQmQtBhYFIe7E6LM
Z3AKPDWYBPkb37jjd80OyA3cEAAAAVNhieoeAAAEAwBHMEUCIQCHHSEY/ROK2/sO
ljbKaNEcKWz6BxHJNPOtjSyuVnSn4QIgJ6RqvYbSX1vKLeX7vpnOfCAfS2Y8lB5R
NMwk6us2QiAAdgBo9pj4H2SCvjqM7rkoHUz8cVFdZ5PURNEKZ6y7T0/7xAAAAVNh
iennAAAEAwBHMEUCIQDZpd5S+3to8k7lcDeWBhiJASiYTk2rNAT26lVaM3xhWwIg
NUqrkIODZpRg+khhp8ag65B8mu0p4JUAmkRDbiYnRvYAdwBWFAaaL9fC7NP14b1E
sj7HRna5vJkRXMDvlJhV1onQ3QAAAVNhieqZAAAEAwBIMEYCIQDnm3WStlvE99GC
izSx+UGtGmQk2WTokoPgo1hfiv8zIAIhAPrYeXrBgseA9jUWWoB4IvmcZtshjXso
nT8MIG1u1zF8MA0GCSqGSIb3DQEBCwUAA4IBAQCLbNtkxuspqycq8h1EpbmAX0wM
5DoW7hM/FVdz4LJ3Kmftyk1yd8j/PSxRrAQN2Mr/frKeK8NE1cMji32mJbBqpWtK
/+wC+avPplBUbNpzP53cuTMF/QssxItPGNP5/OT9Aj1BxA/NofWZKh4ufV7cz3pY
RDS4BF+EEFQ4l5GY+yp4WJA/xSvYsTHWeWxRD1/nl62/Rd9FN2NkacRVozCxRVle
FrBHTFxqIP6kDnxiLElBrZngtY07ietaYZVLQN/ETyqLQftsf8TecwTklbjvm8NT
JqbaIVifYwqwNN+4lRxS3F5lNlA/il12IOgbRioLI62o8G0DaEUQgHNf8vSG
-----END CERTIFICATE-----
subject=/businessCategory=Private Organization/jurisdictionC=US/jurisdictionST=Delaware/serialNumber=5157550/street=88 Colin P Kelly, Jr Street/postalCode=94107/C=US/ST=California/L=San Francisco/O=GitHub, Inc./CN=github.com

issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA

No client certificate CA names sent
Peer signing digest: SHA512

Server Temp Key: ECDH, P-256, 256 bits

SSL handshake has read 3637 bytes and written 434 bytes

New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES128-GCM-SHA256
Session-ID: 266B0093A20D31A83E1B9183F4A39F3D70D19BEC0938F8B49C70BB537E129D87
Session-ID-ctx:
Master-Key: 2A521AC51FA3241D8DB79E35D50CC1F51568CA59ED1AF3F760CDBE12CF1E0F8D3B7C3CB24813E05D4E9BA5E2CF218112
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1519649206
Timeout : 300 (sec)

Verify return code: 0 (ok)

<<< ??? [length 0005]
15 03 03 00 1a
<<< TLS 1.2 Alert [length 0002], warning close_notify
01 00
closed

??? [length 0005]
15 03 03 00 1a
TLS 1.2 Alert [length 0002], warning close_notify
01 00
depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert High Assurance EV Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert SHA2 Extended Validation Server CA
verify return:1
depth=0 businessCategory = Private Organization, jurisdictionC = US, jurisdictionST = Delaware, serialNumber = 5157550, street = "88 Colin P Kelly, Jr Street", postalCode = 94107, C = US, ST = California, L = San Francisco, O = "GitHub, Inc.", CN = github.com
verify return:1

Let me know what wrong here plz?

So OpenSSL can connect to github, but Git cannot.

Please post the output of cat /etc/install-options.txt and your exact Windows version (cmd -c ver).

PS: When pasting command output, could you enclose the output in two lines, each containing three backticks (see https://guides.github.com/features/mastering-markdown/#examples, the Code examples)? This makes it easier to read. Maybe you could even edit the comment above?

Hello @bbolli

Install-options are

#

Editor Option: VIM
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Disabled
Enable Symlinks: Disabled

And Window Version is :

#

**Window-7 Ultimate.

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.**

Could you try CURL_SSL_BACKEND=WinSSL git push?

@bbolli , When I am trying to run the above command , Its giving me below error.

CURL_SSL_BACKEND=WinSSL

'CURL_SSL_BACKEND' is not recognized as an internal or external command,
operable program or batch file.

AND

git push

#

giving below error
fatal: unable to access 'https://github.com/strattas/hos.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Very strange.

You need to put it all on one line and run it in Git Bash.

Yes I tried it one line also,
fatal: unable to access 'https://github.com/strattas/hos.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

May I have your skype id plz, So we can resolve this issue fast ?

I don't have skype here.

git version 2.16.2.windows.1
cpu: x86_64

This disagrees with

CAfile: C:/Program Files/Git/mingw32/ssl/certs/ca-bundle.crt

For some reason, your allegedly 64-bit build tries to access a 32-bit's certificate bundle.

Maybe first download portable Git from https://github.com/git-for-windows/git/releases/tag/v2.16.2.windows.1 and verify that it is still not working for you from the portable Git's git-bash.exe?

CURL_SSL_BACKEND=WinSSL git push

That should be CURL_SSL_BACKEND=schannel git push.

'CURL_SSL_BACKEND' is not recognized as an internal or external command,
operable program or batch file.

So you are using "Git CMD"? Seriously, it would have helped so much to fill out the issue reporting template. There is a specific question "Do you use Git Bash or Git CMD" for the purpose of making exchanges such as the one you just experienced unnecessary.

The problem here is that you did not understand that @bbolli referred to a Git Bash command. The way this is structured, it calls git push with the environment variable CURL_SSL_BACKEND set to schannel.

In Git CMD, you obviously have to use a different invocation:

set CURL_SSL_BACKEND=schannel
git push

Hello @dscho , Thanks for joining this issue, I am running git bash and , I had tried both your commands.

CURL_SSL_BACKEND=schannel git push.


And

set CURL_SSL_BACKEND=schannel git push

But still getting same error
fatal: unable to access 'https://github.com/strattas/hos.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

set CURL_SSL_BACKEND=schannel git push

Certainly you meant to put this in two lines.

fatal: unable to access 'https://github.com/strattas/hos.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

This is a very strong indicator that you are not, in fact, calling v2.16.2. Because that is an OpenSSL error message, and v2.16.2 uses a cURL version that would interpret the CURL_SSL_BACKEND=schannel setting to use Secure Channel instead, which would issue a very different error message.

I have a very strong suspicion that the git executable you are calling in this git push call is not at all the same as the one whose git version output you posted.

To verify this suspicion, or to reject it, use Process Monitor while running the push operation, then (after turning off the tracing in Process Monitor), right-click on the git.exe and in the context menu, click on "Properties" to see the absolute path of the git.exe file that was actually called.

Also note that if you have Windows 7 without SP1, your Secure Channel might not be prepared for TLS v1.2. But again, the error message would most likely look very, very different.

is it possible, I can share my screen on Teamviewer and you can check this issue plz?

Path for showing me as below.

C:Program FilesGitusrbinbash.exe

Also note that if you have Windows 7 without SP1, your Secure Channel might not be prepared for TLS v1.2. But again, the error message would most likely look very, very different.
May I know plz how I can check this?

That should be CURL_SSL_BACKEND=schannel git push.

Way to go, @curl, to require a different string than what is written in the --version output...

How I can change this and what should be the string for curl version? Plz help

@mtkumar82 Have you tried with Portable Git from https://github.com/git-for-windows/git/releases/tag/v2.16.2.windows.1?

That should be CURL_SSL_BACKEND=schannel git push.

Way to go, @curl, to require a different string than what is written in the --version output...

@bbolli my fault. Sorry. I should really offer a patch that supports "WinSSL" and also makes the values case-insensitive. It does error out, though, with a list of valid values.

Have you tried with Portable Git from https://github.com/git-for-windows/git/releases/tag/v2.16.2.windows.1?

Indeed. I had forgotten that I already suggested this, and missed that this suggestion was also ignored.

To use portable git, Do I need uninstall my current installation of git? Or I can use it with that?

The idea of portable Git is that it does not install anything. Corollary: it does not interfere with anything that is installed already.

Oh, and I just had an idea what could be going on in your setup: maybe somebody set http.sslVersion in your setup. If it is set to an incorrect value, you might be greeted with the reported error message.

To find out, call git config --show-origin http.sslVersion.

Hello @dscho , Thanks for checking this issue, I checked the file and there was
sslVersion = tlsv1.0 in C:Usersamit.gitconfig file, I changed the tlsv1.0 with tlsv2.0, Its not working for pull and push data. Just one issue getting for creating PR , which is still giving me protocol error, Is there any other sslVersion I can change there for Create Pull Request to work?

Thanks,
Jarnail

@mtkumar82 Just delete this line in the config file, and you should be fine.

Hello there am having the same problem.
fatal error unable to access https://github.com error 1407742E:SSL routines : SSL23_GET_SERVER_HELLO
windows version 8.1
am using cmd to push the app.
kindly help

@janicemuindi Please follow the steps in this issue to find the problem.

Hello @bbolli ,
I have below code in getconfig file.

[http]
sslVersion = tlsv1.0
proxy =
sslBackend = openssl
sslCAInfo = C:/Program Files/Git/mingw32/ssl/certs/ca-bundle.crt

Do I delete all these lines?
Plz confirm

Hello @janicemuindi , I have the exact same problem. I follow the below steps to sortout this issue.
1) Removed the older version of git and existing directory of git in c:/programer Files/
2) Installed the new version of git, available on git website
3) After complete installation, and help of @bbolli and other, I check the version issue are in file under
C:/Users/yourcomputeruser/.gitconfig
4) I removed the sslVersion = tlsv1.0 from there, and git pull and Push started working for me.
Hope it will helps you.

Thanks

@mtkumar82 No, just the sslVersion one.

sslVersion = tlsv1.0 in C:Usersamit.gitconfig file, I changed the tlsv1.0 with tlsv2.0

First of all, it is not a good idea to set this sslVersion unless you know what it does (and most often, even not then). So delete it.

Why did you even set it in the first place? Did you read a blog post suggesting this? Or did somebody tell you? I ask because I want to know whether there is erroneous information out there that needs to be fixed because it causes more harm than benefit.

Second, tlsv2.0 does not even exist.

There may be legitimate reasons to set it to tlsv1.2, but your use case is highly unlikely to provide such a reason.

@janicemuindi could you please elaborate your use case quite a bit? Like, you see e.g in https://github.com/git-for-windows/git/issues/1522#issuecomment-368339803 how distressed I got by the sheer lack of information that would have been necessary to help effectively. Please do not repeat that frustrating experience, I really got more than enough of that. Do provide details about your setup. Do provide the version numbers of Git, Git Credential Manager, etc. Do try the suggested invocations to figure out whether you also have such an incorrect http.sslVersion setting, or whether your Git is configured to use Git Credential Manager, or whether it uses a new enough version of it, or, or, or. We have provided tons of helpful advice in this here ticket. Please grab the help we already provided. Don't just throw out a five-liner, ignoring pretty much everything that had been said in this conversation already. That is not only rude, it is also frustrating for everybody involved.

Hi,
Thanks bbolli, Mk, dscho

After read all thread and delete sslVersion its working fine.

Thanks a lot. :)

@webuimaker maybe you could answer the question why this was configured at all? Was there any recommendation on some random website?

So is there anybody who thinks that I deserve an answer to my question, and who knows who/what/where recommended setting sslVersion???

So is there anybody who thinks that I deserve an answer to my question, and who knows who/what/where recommended setting sslVersion???

cc @mohamedkhairy who reported this against GitHub Desktop

Hi,

I encountered this same error using git 1.8.5.6 on mac os x 10.8.5, TLS 1.2. I see this error when after making a commit and then attempting push on both git bash and Pycharm. Since using Git desktop and installing the latest version of git are unavailable options… Any suggestions or work arounds?

Thank you.

@jhchiu1, please read the thread. The original issue was intuited by @dscho to be an erroneously set http.sslVersion config variable. If your problem is a different one, we need more information.

@bbolli I think @jchui1's problem lies much deeper: they are using a version of Git so old that it is safe to assume that their cURL/OpenSSL combo (used by Git to talk via HTTPS) is also super-old. Too old, probably, to talk TLS v1.2.

Using SSH instead might work around the issue.

@dscho right, but we don't even know if @jhchiu1 wanted to push to Github or somewhere else.

@bbolli there is unfortunately a lot we don't know because nobody here graces me with any answers to my questions.

@bboli @dscho Thanks for your prompt responses! I am trying to push to a manually created github repo. After work, I will try using SSH. I looked at my gitconfig file and t only lists my email and username... can you provide more details on how to delete the line: sslVersion = tlsv1.0?

@jhchiu1 Please post the output of git config --list --show-origin here. If this doesn't work (maybe --show-origin isn't supported yet on your Git version) just use git config --list.

Output from using git confit --list:

core.excludesfile=~/.gitignore
core.legacyheaders=false
core.quotepath=false
core.pager=less -r
mergetool.keepbackup=true
push.default=simple
color.ui=auto
color.interactive=auto
repack.usedeltabaseoffset=true
alias.s=status
alias.a=!git add . && git status
alias.au=!git add -u . && git status
alias.aa=!git add . && git add -u . && git status
alias.c=commit
alias.cm=commit -m
alias.ca=commit --amend
alias.ac=!git add . && git commit
alias.acm=!git add . && git commit -m
alias.l=log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
alias.ll=log --stat --abbrev-commit
alias.lg=log --color --graph --pretty=format:'%C(bold white)%h%Creset -%C(bold green)%d%Creset %s %C(bold green)(%cr)%Creset %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
alias.llg=log --color --graph --pretty=format:'%C(bold white)%H %d%Creset%n%s%n%+b%C(bold blue)%an <%ae>%Creset %C(bold green)%cr (%ci)' --abbrev-commit
alias.d=diff
alias.master=checkout master
alias.spull=svn rebase
alias.spush=svn dcommit
alias.alias=!git config --list | grep 'alias.' | sed 's/alias.([^=])=(.)/1 => 2/' | sort
include.path=~/.gitcinclude
include.path=.githubconfig
include.path=.gitcredential
diff.exif.textconv=exif
credential.helper=osxkeychain
user.name=juliechiu
user.email=jhc####@gmail.com
core.autocrlf=input
http.sslverify=true
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
core.precomposeunicode=true
remote.origin.url=https://github.com/jhchiu1/mammoths2
remote.origin.fetch=+refs/heads/:refs/remotes/origin/

(Edited my email)

@jhchiu1 You probably have to add a public SSH key to your Github account and switch the remote URL to ssh://. With this old OS and Git, I think that's the only solution.

@bbolli @dscho GREAT NEWS! I was able to push to my GitHub repo!
Thank you very much for all of your help! :)

Here are the steps that worked for me:

ssh-keygen -t rsa -b 4096 -C {[email protected]}

Enter file in which to save the key (/Users/johnsmith/.ssh/id_rsa): /Users/johnsmith/.ssh/id_rsa

Enter passphrase --OR-- (leave empty for no passphrase)

pbcopy < /Users/johnsmith/.ssh/id_rsa.pub

^ Note: pbcopy copies the file's contents to your clipboard.

Now, navigate to your repo's "Deploy keys" setting and paste it.

git init
git remote set-url origin [email protected]:johnsmith/gitrepo.git
git add -A
git commit -m "initial commit"
git push

Deinstallling Git Extensions and redownloading + installing the newest version of https://sourceforge.net/projects/gitextensions/?source=typ_redirect helped me (Win 10 user)

Was this page helpful?
0 / 5 - 0 ratings