pub fn git_checkout( path: &Path, refname: &str, should_pull: bool, force: bool, ) -> Result<(), String>