pub fn restore_to_commit( repo_path: &Path, commit_id: &str, ) -> Result<(), GitToolingError>
Restore the working tree to match the given commit ID.