Skip to content
Getting started

Your first repository

Add an existing repository, clone a new one, or discover every repository under a folder tree.

GitAegis
The GitAegis repository catalogue in Home mode, listing each repository with its current branch, ahead and behind counts, dirty state and last activity, with one repository marked as being in Safe Mode.
Home mode: every repository you have opened, with the state you need before you open one.

Four ways in

Open, Create and Discover are three tabs of one dialog. Clone is its own assistant, because a clone has decisions in it that the other three do not. All four reach the same native Git core, and the resulting catalogue entry is re-read from the core before it appears in the list.

None of the four modifies the repository it adds. Opening a repository validates it and records a row; it does not write to the working tree, the index or the configuration.

Open an existing repository

Point GitAegis at a working tree. Before the repository enters the catalogue it is canonicalised, checked against root and system directories, and resolved through git rev-parse (worktree-aware, via the common directory) so a linked worktree resolves to the repository it belongs to. GitAegis then reads the object and ref formats, HEAD, and the configured remotes.

It also computes a canonical hash of the Git directory and uses it to deduplicate entries. Adding the same repository twice by two different paths (through a symlink, say) gives you one row, not two.

Clone a new one

The clone assistant walks source, destination, then mode and options, and it states the recovery consequence of each mode rather than describing it as a size saving:

  • Full: the whole history. Everything Lost Work and the reflog can reach is present locally.
  • Shallow: truncated history, so the commits that were not fetched cannot be recovered from this clone.
  • Partial: --filter=blob:none. Object contents are fetched on demand, so some operations need the network.
  • Sparse. The paths you name are checked out, and nothing else is in the working tree.

Submodules and LFS are switches. The LFS switch stays off unless git-lfs is actually present on this Mac. Git existing does not prove Git LFS exists. Before it runs, the assistant shows the exact command line it will execute, built from the same request object that is sent to the core, so the preview cannot drift from the run.

Create a new repository

Name, parent directory and initial branch, then optionally an initial commit, a README, a .gitignore template and a licence. The templates on offer are the ones the core can actually write: Node, Rust, Python and Go for .gitignore, and MIT for the licence. The copyright holder is seeded from your default Git author and stays editable: a licence attributed to nobody in particular is not a usable licence.

Discover repositories already on disk

Point Discover at a folder and it walks the tree for real repositories. The walk is bounded, because an unbounded walk of a home directory is a hang rather than a feature: six levels deep and 500 results by default, cancellable at any point, and it never follows symlinks. A loop would walk forever and a symlink out of the root would escape the scope you chose.

Directories that hold dependency trees, build output and caches are skipped outright: node_modules, target, dist, build, .next, .turbo, .cache, vendor, Pods, .gradle, .venv, venv, __pycache__, Library, System, Applications and .Trash. Results stream in as they are found, so the progress you see corresponds to real findings.

A folder macOS refuses to let GitAegis read is reported as refused, naming the folder. It is never reported as empty. A scan that was not allowed to look has no standing to tell you nothing is there.

What Home shows you afterwards

Home is the catalogue: one card per repository with its current branch, how far ahead and behind its upstream it is, whether the working tree is dirty, and when it was last active. A repository that has been put into Safe Mode carries a badge here, so you know before you open it. Above the cards sit the attention feed and the recent-operations strip.

Removing a repository deletes GitAegis’s row for it. The repository on disk is untouched, and adding it again re-reads it from the core.

30-day trial · No card required

A recovery capsule before every risky Git operation.

You see the exact commands before they run, and the operation is refused if the capsule cannot be written.

Requires Git 2.38.0 or newer, already installed.

Every risky operation, in this order

  1. Previewthe exact commands, shown before anything runs
  2. Capsulerefs, index, staged and working changes, untracked files, operation state: written to disk first
  3. Executethe commands as shown, or not at all
  4. Journalplan, commands, capsule id, outcome
No capsule, no operation. Restore plans, previews, and takes its own capsule.