code: def get_current_tag(repo):
      return next(
          (tag for tag in repo.tags if tag.commit == repo.head.commit),
          None,
      )
  
file_path: nptsne/tools/version_util.py
imports: from pathlib import Path
  import tempfile
  import os
  from git import Repo
label_desc: Use image node_id 1 for calling a global function with example usage: get_current_tag(repo) and returns: next