title: Visual Studio Code is always asking for Git credentials
body: <p>I started using <a href="https://code.visualstudio.com/" rel="noreferrer">Visual Studio Code</a>, and I was trying to save my test project into <a href="https://github.com/" rel="noreferrer">GitHub</a>, but Visual Studio Code is always asking for my GitHub credentials.</p>
  <p>I have installed in my PC <a href="https://desktop.github.com/" rel="noreferrer">GitHub Desktop</a> and also <a href="https://git-scm.com/" rel="noreferrer">Git</a>. I already ran:</p>
  <pre><code> git config --global credential.helper wincred
  </code></pre>
  <p>but still Visual Studio Code is asking for the credentials.</p>
  <p>How can I fix this?</p>
  <p>Here is my <strong>.gitconfig</strong> file located in the user profile folfer:</p>
  <pre><code>    [filter &quot;lfs&quot;]
      clean = git-lfs clean %f
      smudge = git-lfs smudge %f
      required = true
  [user]
      name = ddieppa
  [user]
      email = fake@live.com
  [credential]
      helper = wincred
  </code></pre>
  <p>Here is the popup windows asking for the credentials:</p>
  <p><a href="https://i.stack.imgur.com/l5SIE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/l5SIE.png" alt="Enter image description here" /></a></p>
  <p>I enter my GitHub credentials in the popup, but still getting this error in the Git output window in Visual Studio Code:</p>
  <pre><code>remote: Anonymous access to ddieppa/LineOfBizApp.git denied.
  fatal: Authentication failed for 'https://github.com/ddieppa/LineOfBizApp.git/'
  </code></pre>