git command line set username and password code example
Example 1: git save username and password
git config --global credential.helper store
Example 2: git bash set global username and password
$ git config --list --show-origin
git config --global credential.helper store
$ git config --list --show-origin