def new_branch_force_based_on(repo, new_branch, base):
    repo('checkout', '-B', new_branch, base)
Checkout onto a new branch copy of base, overwite existing branch.
dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlgit_checkout.py/new_branch_force_based_on