git bash credentials code example
Example 1: git credentials
# this will store your credentials "forever"
git config --global credential.helper store
Example 2: git bash set global username and password
$ git config --list --show-origin
# this will store your credentials "forever"
git config --global credential.helper store
$ git config --list --show-origin