title: (git tfs fetch) TF400324: Team Foundation services are not available, The underlying connection was closed
body: <p>I've been using git-tfs for almost 5 years, and then one day I got the following error when running <code>git tfs fetch</code>:</p>
  
  <pre><code>TF400324: Team Foundation services are not available from server https://tfs.company.com/tfs/foo.
  Technical information (for administrator):
    The underlying connection was closed: An unexpected error occurred on a send.
  The underlying connection was closed: An unexpected error occurred on a send.
  Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
  An existing connection was forcibly closed by the remote host
  </code></pre>
  
  <p>I even opened Fiddler to see what was going on, and literally the TFS server disconnected the socket when my laptop attempted to connect.</p>
  
  <p>After talking with one of our server admins I discovered that support for TLS 1.0 had been disabled on our TFS servers, and I think I've got my smoking gun. I think my laptop is attempting to connect to our servers using TLS 1.0, which of course causes the server to close the socket.</p>
  
  <p><strong>How can I change the version of TLS that <code>git tfs</code> uses when connecting to Team Foundation Services?</strong></p>