Function checkout

Source
pub fn checkout(commit: &str) -> bool