which git credential is used code example
Example 1: git credentials
# this will store your credentials "forever"
git config --global credential.helper store
Example 2: how to store git credentials
git config --global credential.helper store
# this will store your credentials "forever"
git config --global credential.helper store
git config --global credential.helper store