code: def git_dir(make_tmp_dir):
      path = make_tmp_dir("git-erepo", scm=True)
      path.scm.commit("init repo")
      return path
  
file_path: dvc/tests/dir_helpers.py
imports: import os
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: git_dir(make_tmp_dir) and returns: path