Pushing large files to Team Foundation Server by Git client hangs

Applies to: TFS 2013TFS 2015 ExpressTFS 2015


When you use the Git client to push 5 MB or larger files over HTTPS to Microsoft Visual Studio Team Foundation Server (TFS) 2013, 2015, or 2017, the operation may hang.

Note This issue only occurs on Team Foundation Server that is installed on Windows Server 2008 R2.


This issue occurs because Transport Layer Security (TLS) 1.0 is enabled in Windows Server 2008 R2by default. However, Git push operation requests TLS 1.1 and TLS 1.2. This causes Git pushes over HTTPS to use TLS 1.0 and to hang when you push files larger than 5MB.


To fix this problem, enable TLS 1.1 and TLS 1.2 on Windows Server 2008 R2. To do this, install the update to enable TLS 1.1 and TLS 1.2 as a default secure protocols in WinHTTP in Windows.