pub fn git_checkout(repo_root: &Path, branch: &str) -> Result<(), GitError>
Switches to the specified branch.