def on_select_branch(self, branch_index):
        # If the user pressed `esc` or otherwise cancelled.
        if branch_index == -1:
            return
        selected_remote_branch = self.branches_on_selected_remote[branch_index].split("/", 1)[1]
        remote_ref = self.selected_remote + "/" + selected_remote_branch

        self.current_local_branch = self.get_current_branch_name()

        self.git("branch", "-u", remote_ref, self.current_local_branch)

        sublime.set_timeout_async(self.run_async, 0)
Determine the actual branch name of the user's selection, and proceed
dataset/ETHPy150Open divmain/GitSavvy/github/commands/pull_request.py/GsCreatePullRequestCommand.on_select_branch