

def get_branch_names(local=True, remote_branches=True):
    repo_check()
    branches = get_branches(local=local, remote_branches=remote_branches)
    return [b.name for b in branches]

dataset/ETHPy150Open kennethreitz/legit/legit/scm.py get_branch_names/original