set git credentials in windows 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'