add support for /tree/branch and /blob/branch URLs; add a demo at dist/index.html