pub fn remove_worktree_reference(path: &Path) -> Result<()>
Remove a worktree reference without removing the directory.