code: def checkout_branch(self, branch_name):
          
          cmd = [
              "git",
              "checkout",
              "-b",
              self.get_cherry_pick_branch(branch_name),
              f"{self.upstream}/{branch_name}",
          ]
          try:
              self.run_cmd(cmd)
          except subprocess.CalledProcessError as err:
              click.echo(
                  f"Error checking out the branch {self.get_cherry_pick_branch(branch_name)}."
              )
              click.echo(err.output)
              raise BranchCheckoutException(
                  f"Error checking out the branch {self.get_cherry_pick_branch(branch_name)}."
              )
docs: git checkout -b <branch_name>