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