So, I hit the button in GitHub to generate a project page for Jack and promptly spent the next 30 minutes figuring out how to check the gh-pages branch out into my local repo.

The following is what I did to get everything working. Note, make sure you’ve got all your local changes committed or stashed before doing this as they will be lost otherwise.

git clone Jack
cd Jack
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -f -d -x
git pull origin gh-pages

If you didn’t use the generate page button in the GitHub website you can follow the directions here to get your project page up and running.

Once this is done you should be able to git checkout master and git checkout gh-pages to edit the code or website.