set global password git code example
Example 1: save account to git
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