title: How to use Git credential store on WSL (Ubuntu on Windows)?
body: <p>I've tried following these instructions: <a href="https://stackoverflow.com/a/40312117/21728">https://stackoverflow.com/a/40312117/21728</a> which basically do this:</p>
  
  <pre><code>sudo apt-get install libsecret-1-0 libsecret-1-dev
  cd /usr/share/doc/git/contrib/credential/libsecret
  sudo make
  git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
  </code></pre>
  
  <p>But when I do any network operation, I get this error:</p>
  
  <pre><code>** (process:7902): CRITICAL **: could not connect to Secret Service: Cannot autolaunch D-Bus without X11 $DISPLAY
  </code></pre>
  
  <p>That's logical I guess as there is indeed no X11 display.</p>
  
  <p>How to make Git credentials caching work on Ubuntu on Windows (WSL)?</p>