git bash set 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: git bash set global username and password
$ git config --list --show-origin