pub fn worktree_add_existing( dir: &Path, path: &Path, branch: &str, ) -> Result<()>
Check out an existing branch into a new worktree.