Save your password in the system’s Keychain:
GitHub’s help also suggests that if you’re on Mac OS and used homebrew to install git, you can use the native Mac OS keystore with:
git config --global credential.helper osxkeychain
Learning through interaction
GitHub’s help also suggests that if you’re on Mac OS and used homebrew to install git, you can use the native Mac OS keystore with:
git config --global credential.helper osxkeychain