pub fn get_remote_url( repo_path: &Path, remote: &str, ) -> Result<Option<String>, GitError>
Get the URL of a named remote, or None if the remote doesn’t exist.