git list credentials code example
Example 1: git credentials
# this will store your credentials "forever"
git config --global credential.helper store
Example 2: git check username
git config --list
# this will store your credentials "forever"
git config --global credential.helper store
git config --list