code: def getRepoInfo():
      out = getCommandOutput("git remote -v")
      repo = out.split("\n")[-1].split()[1]
      branch = getCommandOutput("git rev-parse --abbrev-ref HEAD")
      return (repo, branch)
  
imports: import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: getRepoInfo() and returns: repo,  branch