Make gh browse compatible.
Merge pull request #154 from jingweno/browse_compat

Make gh browse compatible.