pub(crate) fn validate_worktree_name(name: &str) -> Result<(), Error>
Validate worktree name contains only alphanumeric, hyphens, and underscores.