A version-controlled Git overlay CLI for personal files, local config overrides, and hidden upstream paths in a shared working tree.
Keep private scripts, local configuration overrides, and personal tooling on top of any Git repository without polluting its commit history or relying on fragile .git/info/exclude and skip-worktree workarounds. Overgit stores your overlay in an independent Git repository (.overgit) inside the same working directory, so normal base Git commits stay clean while your personal setup stays versioned, portable, and mergeable.
- Add and override files — Track private files or override base-tracked configs while keeping base
git statusclean. - Hide and replace upstream paths — Mask individual base files (whiteouts), replace whole directories (opaque directories), or hide tracked files with gitignore-style glob patterns (
overgit rm --pattern). - Sync and share across machines — Push, pull, and clone your overlay like any Git repo, update the base with
overgit base pull, three-way merge upstream changes withovergit sync, and use paired Git worktrees. - Built for safety — Atomic mutations with automatic rollback, local recovery backups (
overgit recovery), and health diagnostics (overgit doctor).
overgit init
overgit add personal.sh config.toml
overgit rm --pattern SPEC.md
overgit commit -m "personal setup"Run overgit --help (and overgit <command> --help) for workflows, syncing, and safety guidance.
Download a prebuilt Linux or macOS archive from GitHub Releases (and update later with overgit update), or build from source with system Git and mise. From this checkout, review mise.toml, then run:
mise trust && mise install
mise exec -- cargo install --path . --lockedAGPL-3.0-or-later. See LICENSE.