Question: how to change the username and password in git?
Answer: In your terminal, navigate to the repo you want to make the changes in.
Execute git config --list to check current username & email in your local repo.
Change username & email as desired. Make it a global change or specific to the local repo: git config [--global] user.name "Full Name" ... 
Done!