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