if the url is https://github.com/ryan-cd/ctf/tree/master display the branch name? (remove /tree) icon for main/master? also take a look of parsing direct links to files.