title: Where is github authentication token stored on Windows?
body: <p>If I run a command similar to the following on a private repository:</p>
  
  <pre class="lang-bsh prettyprint-override"><code>git ls-remote https://github.com/org/repo.git
  </code></pre>
  
  <p>I'm getting this following prompt.</p>
  
  <p><a href="https://i.stack.imgur.com/D2COS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/D2COS.png" alt="enter image description here"></a></p>
  
  <p>I'm using <a href="https://gitforwindows.org" rel="noreferrer">https://gitforwindows.org</a> and looking at the Process Explorer, it appears that the executable that produces this window is <code>\mingw64\libexec\git-core\git-credential-manager.exe</code> relative to Git for Windows installation folder.</p>
  
  <p>When I put in my credentials, I'm getting an email from Github, saying that a new authentication token is created.</p>
  
  <p>Where is this token stored on my PC? When I repeat the command above I'm no longer getting the prompt - as long as I do not revoke the token on the github web site.</p>