pub fn has_uncommitted_changes(worktree_path: &Path) -> Result<bool>
Check if a worktree has uncommitted changes (staged or unstaged).