GitHub Pages is a pretty cool feature which allows you to publish web content to a github.com subdomain named after your username. It automatically serves everything you have located under the
gh-pages branch, so you can use Git to update the site.
However, what do you do when you already got your website/docs/whatever in your master branch? If you checkout the gh-pages branch, the folder disappears. You’ll actually have to copy the folder to another place before you checkout the new branch and copies the folder into that branch.
It’s even harder if you haven’t created the gh-pages branch yet.
Okey, enter Grancher (yeah, I know, lame name):