setting git global username and password code example
Example 1: set email git
git config --global user.email "[email protected]"
Example 2: set username git
git config --global user.name "My Name"
Example 3: git bash set global username and password
$ git config --list --show-origin
Example 4: how to set global github username and password in git
$ git config --global credential.helper wincred