code: def _git_enable_branch(desired_branch):
      
      preserved_branch = _git_get_current_branch()
      try:
          if preserved_branch != desired_branch:
              _tool_run('git checkout ' + desired_branch)
          yield
      finally:
          if preserved_branch and preserved_branch != desired_branch:
              _tool_run('git checkout ' + preserved_branch)
docs: Enable desired branch name.