I was pushing and pulling from git in Terminal then I changed my username on github.com. I went to push some changes and it couldn\'t push because it was still recognizing
From your terminal do:
git config credential.username "prefered username"
OR
git config --global user.name "Firstname Lastname"