how to change github username and password in git 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: how to set global github username and password in git
$ git config --global credential.helper wincred