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