pub async fn resolve( config: &Config, repository: Option<&str>, remote_host: &str, ) -> Result<(String, String, GithubCredentialSelection), String>