Git Divergence Audit

Identify divergence between local and remote Git branches and map unique commits.

1|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/Baneeishaque/ai-suite --skill git-divergence-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Git Divergence Audit
Source: https://github.com/Baneeishaque/ai-suite/tree/main/.agents/skills/git_divergence_audit
Command: npx skills add https://github.com/Baneeishaque/ai-suite --skill git-divergence-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Audits and maps divergence between local and remote Git branches to ensure all unique commits and assets are identified prior to reconciliation.

Core Features & Use Cases

  • Passive context for identifying divergence across repositories and submodules.
  • Automated discovery of ahead/behind commits and generation of a CAM table for reconciliation planning.
  • Unit-by-unit asset auditing to categorize changes into Technical Asset, Documentation, or Noise.

Quick Start

Run the audit.ps1 script to compare main and origin/main and generate the CAM table.

Frequently Asked Questions about Git Divergence Audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify divergence between local and remote Git branches?

Git branch divergence is identified by comparing local and remote branches to map unique commits and categorize assets, ensuring all changes are recognized prior to reconciliation, merge, or rebase operations.

What is a CAM table in Git branch reconciliation?

A CAM table in Git branch reconciliation categorizes audited changes by unit into Technical Asset, Documentation, or Noise, providing a structured map of unique commits to guide safe merge or rebase decisions.

How do I audit unique commits across Git submodules before a rebase?

You can audit unique commits across Git submodules by running a PowerShell audit script that performs unit-by-unit asset discovery, identifying ahead and behind commits to ensure safe rebase planning.

Can I use PowerShell to categorize Git assets into technical and documentation changes?

Yes, you can use a PowerShell audit script to categorize Git assets into Technical Asset, Documentation, or Noise, mapping unique commits between local and remote branches for reconciliation planning.

Does Git divergence auditing work with any Git-managed workspace?

Git divergence auditing works with any Git-managed workspace, including those containing submodules, to discover ahead and behind commits and generate a CAM table for environment validation and reconciliation.

What is the best way to map unique commits before merging Git branches?

The best way to map unique commits before merging Git branches is to run an automated divergence audit that compares local and remote states, categorizing assets to ensure a safe and informed merge decision.