set username and password git cli code example
Example 1: set username git
git config --global user.name "My Name"
Example 2: git bash set global username and password
$ git config --list --show-origin
git config --global user.name "My Name"
$ git config --list --show-origin