

def sprout_branch(off_branch, branch):
    'Checks out given branch.'
    repo_check()
    return repo.git.execute([git, 'checkout', off_branch, '-b', branch])

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