change git username and password code example
Example 1: how change your github username and password in terminal
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git config --global user.password "your password"
Example 2: change global user name git
$ git config --global user.name "Mona Lisa"