how to set github username and password terminal code example
Example 1: git config username
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
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"
Example 3: save account to git
git config --global credential.helper store
Example 4: how to reset local git credentials of android studio
git config --system --unset credential.helper