Add query to get all branches, revisions and tags of a repository