git credentials on mac code example Example: git config --global credential.helper osxkeychain git config --global credential.helper osxkeychain