Github — Change Username/password on Mac
1. Check the existing setting
Jun 9, 2021
git config — list
Found the existing user name and email and found credential is managed by osxkeychain
2. Update existing user name and email
git config — global user.name <Your github account name>
git config — global user.email <Your github account email>
3. Erase keychain records so that
git credential-osxkeychain erase host=github.com protocol=https