pub fn is_ahead_of_upstream(repo_root: &Path) -> Result<bool, GitError>
Check if HEAD is ahead of the configured upstream.
Returns true if there are local commits that haven’t been pushed.