I have used one Github account to push an android project to Github from Android Studio. Now I have created another account on Github and want to push my another android project
I had the same problem and had solved it.
With current Android Studio 3.5 we can add several github account
with several github account added we can select one for the default for specific project.
or
change the git username and email:
add --global if you want change for global config