Added browse on reference page
Allow browsing remote branch and tags
Made url simpler
Polished code