Easy Credential Caching for Git

A common question since launching our Git support is whether there is a way to cache your username and password so you don’t have to enter it on every push.  Well thanks to Andrew Nurse from the ASP.Net team, there is now a great solution for this!

Credential Caching in Windows to the Rescue

Using the Git extension point for credential caching, Andrew created an integration into the Windows Credentials store. After installing git-credential-winstore instead of getting that standard prompt for a username/password, you will get a Windows Security prompt.


From here your credentials for CodePlex will be stored securely within the Windows Credential Store.



The setup is pretty easy. Download the application from Andrew's git-credential-winstore project. Launch the executable and select yes to have it prompt for credentials. That's it.


Make sure you are running the latest version of msysgit, since the credential's API is fairly new.

Thanks to Andrew for sharing his work.  If you have suggestions or improvements you can fork the code here.

Comments (7)

  1. Rajiv says:

    Ahh, that can be time-savior, I hate to re-enter password every time.



  2. UptoDater says:

    For msysgit 1.8.1 and above:

    The wincred helper was added in msysgit 1.8.1. Use it as follows:

    git config –global credential.helper wincred

  3. savio says:

    But does that create a security issue.

    <a href="http://mailbox2056.blogspot.in">mailbox2056.blogspot.in</a&gt;

  4. saidesh says:

    hmmmm its gud


  5. Dinesh Nagar says:

    I am not able to install git setup can u please help me ?

  6. Dinesh Nagar says:

    not able to install git.

    Error :- to run this application, you first must install one of the following versions of the .net framework v4.0.30319

    Content your application publisher for instruction about obtaining the appropriate version of .net framework.

Skip to main content