pub fn scratch(checkout: &Path, under: &Path) -> Result<Scratch, GitError>
A scratch worktree of checkout’s HEAD under under.
checkout
HEAD
under