Return a list of branches conatining that commit

def branches_containing(commit):
    """Return a list of branches conatining that commit"""
    lines = run('branch --contains %s' % commit).splitlines()
    return [l.lstrip('* ') for l in lines]