code: def normalize_git_url(url):
      if url is None:
          return ""
  
      url = url.replace(".git", "")
      return url
  
imports: import json
  import os
  import threading
  import time
  from datetime import datetime, timezone
  import git
  import gradio
  import html
  import shutil
  import errno
  from modules import extensions, shared, paths, config_states, errors, restart
  from modules.paths_internal import config_states_dir
  from modules.call_queue import wrap_gradio_gpu_call
label_desc: Use image node_id 9 for calling a global function with example usage: normalize_git_url(url) and returns: url, str