how to set git credentials to look in windows credential manager code example
Example 1: create permanent git credentials windows
$ git config --global credential.helper wincred
Example 2: create permanent git credentials windows
git config --global credential.helper 'cache --timeout=600'