Skip to main content
Ancillary interrogator commands are supporting Git commands that provide additional ways to inspect, analyze, and query your repository. These commands complement the main info commands.

git-annotate

Annotate file lines with commit information

git-blame

Show what revision and author last modified each line of a file

git-bugreport

Collect information for user to file a bug report

git-count-objects

Count unpacked number of objects and their disk consumption

git-diagnose

Generate a zip archive of diagnostic information

git-difftool

Show changes using common diff tools

git-fsck

Verify the connectivity and validity of objects in the database

git-help

Display help information about Git

git-instaweb

Instantly browse your working repository in gitweb

git-merge-tree

Show three-way merge without touching index

git-rerere

Reuse recorded resolution of conflicted merges

git-show-branch

Show branches and their commits

git-verify-commit

Check the GPG signature of commits

git-verify-tag

Check the GPG signature of tags

git-version

Display version information about Git

git-whatchanged

Show logs with difference each commit introduces

gitweb

Git web interface

Overview

Ancillary interrogators provide specialized inspection capabilities:
  • Code attribution - Track who changed what and when
  • Repository health - Verify integrity and diagnose issues
  • Visual tools - Browse and compare with graphical interfaces
  • Signature verification - Check GPG signatures on commits and tags
  • Merge analysis - Understand merge behavior and conflicts

Common Tasks

Code Attribution

git blame <file>          # Show line-by-line authorship
git annotate <file>       # Similar to blame with different format

Repository Health

git fsck                  # Verify repository integrity
git count-objects -v      # Show repository statistics
git diagnose              # Create diagnostic archive

Visualization

git show-branch           # Show branch structure
git instaweb              # Launch web interface