code: def create_branch_and_checkout(self, branch_name: str):
          
          self.create_branch(branch_name)
          self.checkout(branch_name)
docs: Creates a new branch if it doesn't exist
  
          Args:
              branch_name: branch name