git change global username and password code example
Example 1: how to change username and password in git
# change the whole things in one go
git config --global credential.helper cache # to enable credentail helper
git config --global --edit
Example 2: change global user name git
$ git config --global user.name "Mona Lisa"
Example 3: git bash set global username and password
$ git config --list --show-origin