save github credentials git code example
Example 1: git save username and password
git config --global credential.helper store
Example 2: cache github credentials widows
$ git config --global credential.helper wincred
git config --global credential.helper store
$ git config --global credential.helper wincred