def create_release_branch(version, base_branch):
    try:
        base_branch.checkout(b='release/flocker-' + version)
    except GitCommandError:
        raise BranchExists()
checkout a new Git branch to make changes on and later tag as a release.
dataset/ETHPy150Open ClusterHQ/flocker/admin/release.py/create_release_branch