def get_branches(self):
        return self.rev_cache.branch_dict
returns list of (local) branches, with active (= HEAD) one being the first item
dataset/ETHPy150Open hvr/trac-git-plugin/tracext/git/PyGIT.py/Storage.get_branches