how to change username and password in git 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: 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"