pub fn create_worktree( repo: &Path, ref_name: &str, worktree_path: &Path, ) -> Result<()>
Create a detached worktree at worktree_path pointing at ref_name.
worktree_path
ref_name