title: git clone: Authentication failed for <URL>
body: <p>Trying to access private corporate tfs.
  They gave me access by giving appropriate rights to windows user (domain\login).</p>
  
  <p>I'm fine with accessing web interface of tfs, browse repository and stuff.</p>
  
  <p>But when I try to run </p>
  
  <pre><code> git clone https://tfs.somehostname.com/tfs/somefolder/_git/therepository
  </code></pre>
  
  <p>It fails with </p>
  
  <pre><code>Cloning into 'therepository'...
  
  fatal: Authentication failed for 'https://tfs.somehostname.com/tfs/somefolder/_git/therepository/'
  </code></pre>
  
  <p>Tried with home pc without corporate network stuff - same error.</p>
  
  <p>Tried in PowerShell, Git Bash, Clone via VisualStudio - same error.</p>
  
  <p>SSH is closed (gave request timeout).</p>
  
  <p>Web &amp; Git both ask for credentials once (tried deleting in Credentials Manager - asks again, after submitting web is fine, git fails)</p>
  
  <p>Corporate helper tried to help, but all he gave is tfs logs.
  He says, my username doesn't come with requests (tracked by syncing my attempts timestamps with logs).</p>
  
  <pre><code>2018-07-19 07:04:00 SOMEIP GET /tfs/SOMEFOLDER/_git/REPOSITORY/info/refs service=git-upload-pack 443 - ANOTHERIP git/2.12.2+(Microsoft+Windows+NT+6.3.9600.0;+Win32NT+x64)+CLR/4.0.30319+VS15/15.0.0 - 401 2 5 62
  2018-07-19 07:23:00 SOMEIP GET /tfs/SOMEFOLDER/_git/REPOSITORY/info/refs service=git-upload-pack 443 - ANOTHERIP git/2.18.0.windows.1 - 401 2 5 62
  2018-07-19 07:23:00 SOMEIP GET /tfs/SOMEFOLDER/_git/REPOSITORY/info/refs service=git-upload-pack 443 - ANOTHERIP git/2.18.0.windows.1 - 401 1 3221225581 187
  </code></pre>
  
  <p>while others include it</p>
  
  <pre><code>2018-07-19 05:44:27 SOMEIP GET /tfs/SOMEFOLDER/_git/REPOSITORY/info/refs service=git-upload-pack 443 DOMAIN\LOGIN ANOTHERIP git/2.12.2+(Microsoft+Windows+NT+6.1.7601+Service+Pack+1;+Win32NT+x64)+CLR/4.0.30319+VS15/15.0.0 - 200 0 0 265
  </code></pre>