Commits(for new or old branch) done after changing the username and email are linked to me while Pushes(for both old and new branch) are for old user.
Moreover if I setup a new project or anything new as generating ssh keys I get the message in terminal as previous user. How do I remove that previous user from my system so that everything done related to github from my system should be related to my account.
I changed the config file through this link , it is also showing the correct username and email through git config --global user.name or git config --global user.email.