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
Firstly you need to change credentials from your local machine
git config [--global] user.name "Your Name"
git config [--global] user.email "email@address.com"