Strip \tree in github repo path in case of repo with branch