code: def read_remote_origin(repo_dir):
      
      conf = ConfigParser()
      conf.read(os.path.join(repo_dir, '.git/config'))
      return conf.get('remote "origin"', 'url')
docs: Read the remote origin URL from the given git repo, or None if unset.