code: def get_repo_url(path=".", remove_user=True):
      p = subprocess.Popen(
          ["git", "config", "--get", "remote.origin.url"],
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
          cwd=path,
      )
  
      stdout, _ = p.communicate()
      if p.returncode != 0:
          return None
  
      url = stdout.strip()
      if remove_user:
          url = re.sub("(?<=://).*@", "", url.decode("utf-8"))
      return url
  
file_path: studio/studio/git_util.py
imports: import re
  import subprocess
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: get_repo_url(path, remove_user) and returns: url, None