def remotes_for_url(remote_url)
      result = remotes_with_urls.collect do |remote, urls|
        remote if urls.values.all? { |url| url == remote_url }
      end
      result.compact
    end
def remotes_for_url(remote_url)
      result = remotes_with_urls.collect do |remote, urls|
        remote if urls.values.all? { |url| url == remote_url }
      end
      result.compact
    end
Collect all remotes for a given url.