## Lesson — Try local branch references before remote-tracking ones

**Tags:** git, architecture

Try local branch references before remote-tracking ones (origin/branch) when calculating diffs to maintain consistency, unless a full audit of stale merge-base risks is performed.
