Adicione essas duas linhas à seção “.git / config” [remote “origin”]:
push = +refs/heads/master:refs/heads/gh-pages
push = +refs/heads/master:refs/heads/master
Fonte: http://stackoverflow.com/questions/5807459/github-mirroring-gh-pages-to-master#answer-7472481