I have two accounts on github, one is personal account and other is office account. I typically face this problem to manage pushing to different repos using these different accounts.
I found a great way of doing it without any hassle.
Suppose my personal id is jane@gmail.com and office account is jane@doe.com
Follow the steps mentioned here to generate ssh keys : https://help.github.com/articles/generating-ssh-keys/