class_docstr: Manages git log entries from a specific branch/tag
  
  Can compare git log entries by PR number
code: def _git_logs(self) -> list[str]:
      # let's get current git ref so we can revert it back
      current_git_ref = self._git_get_current_head()
      self._git_checkout(self._git_ref)
      output = (
          os.popen(
              'git --no-pager log --pretty=format:"%h|%an|%ae|%ad|%s|"'
          )
          .read()
          .split("\n")
      )
      # revert to git ref, let's be nice
      self._git_checkout(current_git_ref)
      return output
  
imports: import csv
  import os
  import re
  import sys
  from collections.abc import Iterator
  from dataclasses import dataclass
  from typing import Any, Optional, Union
  import click
  from click.core import Context
label_desc: Use image node_id 9 for calling the GitLogs obj's underlying member method code with example usage: obj._git_logs() and returns: output