pub fn create_worktree(
repo_root: &Path,
branch: &str,
) -> Result<PathBuf, PawError>Expand description
Creates a git worktree for the given branch.
The worktree is placed in the parent directory of repo_root, named using
worktree_dir_name. Returns the path to the created worktree.