pub fn remove(name: &str) -> Result<(), WorktreeError>
Remove a git worktree.
Returns an error if the worktree cannot be removed.