pub fn repo(root: &Path, remote: Option<&str>) -> Result<Repo, String>
The repository remote (default origin, else the first) names.
remote
origin
No remote, or one that names no GitHub repository.