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
Please update new user repository URL
git remote set-url origin https://username@bitbucket.org/repository.git
I tried using below commands, it's not working:
git config user.email "email@example.com"
git config user.name "user"
OR
git config --global user.email "email@example.com"
git config --global user.name "user"