code: def _clone_repo(git_uri: str, local_path: str) -> None:
      logging.info("Cloning repo %s to %s", git_uri, local_path)
      try:
          Repo.clone_from(git_uri, local_path)
      except Exception as e:
          logging.exception("Failed to clone repository", exc_info=e)
          raise GitCloneError("Failed to clone repository")
      logging.info("Cloned repo successfully.")
  
file_path: foolbox/foolbox/zoo/git_cloner.py
imports: import os
  import shutil
  from git import Repo
  import logging
  from .common import sha256_hash, home_directory_path
label_desc: Use image node_id 2 for calling a global function with example usage: _clone_repo(git_uri, local_path) without return types