def sprout_branch(off_branch, branch):

    repo_check()

    return repo.git.execute([git, 'checkout', off_branch, '-b', branch])
Checks out given branch.
dataset/ETHPy150Open kennethreitz/legit/legit/scm.py/sprout_branch