pub fn get_latest_commit( repo_path: &Path, branch: &str, tag_type: &str, ssh_key: &str, ) -> Result<String, Error>