<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_branch(profile, name, branch_off):
 """Create a branch. Args: profile A profile generated from ``simplygithub.authentication.profile``. Such profiles tell this module (i) the ``repo`` to connect to, and (ii) the ``token`` to connect with. name The name of the new branch. branch_off The name of a branch to create the new branch off of. Returns: A dict with data about the new branch. """

    branch_off_sha = get_branch_sha(profile, branch_off)
    ref = "heads/" + name
    data = refs.create_ref(profile, ref, branch_off_sha)
    return data