set global user and password git code example
Example 1: git bash set global username and password
$ git config --list --show-origin
Example 2: how to set global github username and password in git
$ git config --global credential.helper wincred