pub async fn has_changes(dir: &Path) -> bool
Check if there are uncommitted changes in the working directory.