Knowledge Base

Git Developer Guides

Practical command line solutions and native Mac workflows for common Git challenges.

How to check unpushed commits across all Git repos on macOS

Find every local branch with unpushed commits across all your Mac's repositories before shutting down or switching machines.

How to find all Git repositories with uncommitted changes on Mac

Find all dirty Git working trees across your developer directories using CLI one-liners or the native macOS GitMon menu bar monitor.

How to find and delete stale local Git branches

Safely clean up merged and abandoned local Git branches that clutter your git branch list and shell tab completion.

Git detached HEAD: what it means and how to fix it

Understand why Git enters a detached HEAD state after checking out a commit or rebase, how to keep your changes, or how to return to your branch.

How to find and list all Git repositories on a Mac

Fast terminal commands and tools to discover and inventory every Git repository on your macOS machine.

Pre-flight checklist: Find all uncommitted changes before switching Macs

Never leave work stranded locally when shutting down or switching between a desktop and laptop. A complete checklist for developers.

Git ahead and behind remote: what it means and how to resolve it

What ahead and behind commit counts mean in Git, why branches diverge, and how to safely sync them.