def validate_true(conditional, message='', exception=None):
    if not conditional:
        name,l = scoped_validation()
        ArgCheck(name,exception).validation(False,message,l)
returns list of (local) branches, with active (= HEAD) one being the first item
dataset/ETHPy150Open ooici/pyon/pyon/util/arg_check.py/validate_true--crossover with--dataset/ETHPy150Open hvr/trac-git-plugin/tracext/git/PyGIT.py/Storage._get_branches