Hugo on GitHub Pages
I used to base this site on a blog entry on another blog. The gist of it was, there's a source branch while the master branch contains the deployed page. A part of the reason I did this in the first place was because I had to. I had to deploy on a branch and I had no choice but to use the root directory. This seems to have changed since, meaning the docs/ folder on any (including the primary) branch can be used.