Environment Definition:
- Using windows 10 operating system:
- I use both git from https://git-scm.com/ and Github's Git Shell
Background:
When I issue a got clone command like below:
git clone https://UserName@Url.com:443/name.git
Git prompts me for the password for the 1st time. Then it stores or caches is somewhere.
Question:
Where is the password stored or cached in Windows? Is there any git command that lists the cached/stored credentials for all repositories?
More clarification request:
Does this depend on the git implementation? The reason I am asking is below two points:
- It seems that when I use original git from https://git-scm.com/, it stores the passwords in windows password vault. I can see some of the git usernames and passwords there
- However, I cannot find passwords cached/stored by Github's "Git shell" anywhere
Update 1 based on @milouk response:
In a windows environment, I tried Github's "Git shell" and cloned a repository. It did not ask for any password, so I assume it uses a cached password. , I tried below command and it does not return anything.
git config --global credential.helper wincred
Is this because Github's "Git shell" is not a standard git client?
Update 2 based on @milouk response:
I understand that the password might have been cached in memory.
- Is there any way to get a list of credentials cached in memory?
- Is there any way to clean the credentials cached in memory, so i don't have to restart to make sure I am entering the updated password?