pub fn remove(repo: &Repository, name: &str, delete_branch: bool) -> Result<()>
Remove a worktree directory and prune its admin files. Optionally delete the branch.