@judofyr has created a simple project called Grancher which helps convert directories got git branches. It’s perfect for GitHub Pages.

Check out the repo or blog post. Thanks Magnus!