

def checkout_branch(branch):
    'Checks out given branch.'
    repo_check()
    (_, stdout, stderr) = repo.git.execute([git, 'checkout', _], with_extended_output=True)
    return '\n'.join([stderr, stdout])

dataset/ETHPy150Open kennethreitz/legit/legit/scm.py checkout_branch/VarMisuse@35/49 `branch`->`_`