Currently, the upstream branch name gh-pages is hard-coded. However, when using Github user pages (rather than project pages), Github requires the website to be in the master branch, and there doesn’t seem to be a way of changing this configuration.
Would it be possible for jgd to detect whether it needs to push to gh-pages or to master?