pub fn get_git_remote_urls(cwd: &Path) -> Result<BTreeMap<String, String>>Expand description
Get git remote URLs for fetch remotes in the repository at the given path. Returns a BTreeMap mapping remote names to their fetch URLs.
§Arguments
cwd- The working directory to run git commands in
§Returns
A BTreeMap where keys are remote names (e.g., “origin”) and values are fetch URLs. Returns an empty map if not in a git repository or if no remotes are configured.