The RPC LIST_BRANCHES lists all branches from all repositories. This produces a lot of overhead, especially in a gitblit instance with a bunch of repositries and a lot of branches.
It would be useful to have a RPC request like LIST_REPOSITORY_BRANCHES for a given repository.