Question: how to change git credentials terminal?
Answer: To change locally for just one repository, enter in terminal, from within the repository `git config credential.username "new_username"`
To change globally use `git config --global credential.username "new_username"`