git save credentials mac code example Example: cache github credentials widows $ git config --global credential.helper wincred