pub fn init_repository( path: &Path, bare: bool, initial_branch: Option<&str>, ) -> Result<RepositoryInfo>