title: Atlassian Bitbucket Sourcetree Git Credential Manager prompt
body: <p>Atlassian Bitbucket Sourcetree Git Credential Manager keeps prompting me to authenticate.</p>
  
  <p>I have tried several fixes, including the obvious:</p>
  
  <ul>
  <li><p>Entering auth, prompt re-appeared in 15 sec.</p></li>
  <li><p>Deleting all saved passwords. -Didnt work for me, prompt re-appeared
  in 2-3 min.</p></li>
  <li><p>Updating Git Cred mngr - no effect</p></li>
  <li><p>Updating Sourcetree - no effect</p></li>
  <li><p>Reinstalling services - no effect</p></li>
  <li><p>Deleting App data temp dir - no effect</p></li>
  <li><p>Forcing password update - no effect, actually made it worse.</p></li>
  </ul>
  
  <p>It keeps prompting me to log in with the wrong username over and over.
  I'm on Win10-64Bit, using Sourcetree V.3.0.6.</p>
  
  <p>After reading <a href="https://community.atlassian.com/t5/Sourcetree-questions/Git-Credential-Manager-for-Windows-Popups/qaq-p/579905" rel="noreferrer">this post</a> on the Atlassian forum, I tried this:</p>
  
  <p>Login with e-mail NOT username see this comment:</p>
  
  <blockquote>
    <p>Bo Anderson Aug 06, 2017 • edited Jun 20, 2018 EDIT (20 June 2018):
    Recent changes to Bitbucket authentication has also meant that you
    must use your email (NOT your username) when logging in. Currently,
    logging in with your username is still accepted but seems to cause
    several issues ranging from this repeated login prompt issue to the
    "too many login attempts" error when pushing.</p>
  </blockquote>
  
  <p>I've not seen the issue occur for non-Bitbucket accounts.</p>
  
  <hr>
  
  <p>(29 Aug 2017): The embedded Git has now been updated, alongside the release of Sourcetree 2.1.11.0. After updating SourceTree, go to Tools > Options > Git and click "Update Embedded Git" to get the latest version (at least 2.14.1).</p>
  
  <hr>
  
  <p>The majority of issues in Git Credential Manager for Windows have been fixed in recent versions. The latest version (1.12.0) released a couple days ago fixed the remaining issues I had with Bitbucket authentication.</p>
  
  <p>The latest Git Credential Manager for Windows is included in the latest Git for Windows. Until Atlassian updates their embedded version, you could install Git for Windows 2.14.0 and within SourceTree, click "Use System Git" in Options.</p>
  
  <p>Kris's solution also works if you only want to update Git Credential Manager for Windows specifically, though does require config changes.</p>
  
  <p>This actually made it much worse, and I am prompted to login for every team member I'm teamed with.</p>