A fast, native macOS Git client with AI commit messages.
Review your changes, stage files, hunks or single lines, let AI write the commit message, then commit and push.
Built with Swift and SwiftUI. Uses your own git. Works with any OpenAI-compatible model, local ones included.
Version 1.0.0 · macOS 26 or later · Apple silicon and Intel · signed and notarized by Apple
Why · Features · Install · AI setup · Shortcuts · Roadmap · Contributing
Most of my day happens in an editor, a terminal and an AI coding agent. Git was the step that kept slowing me down. The Git apps I tried were either heavy, felt out of place on a Mac, or stopped at the basics. And writing a good commit message for every change often took longer than the change itself.
So I built the Git client I wanted to use every day:
- Native, not a web page. Swift, SwiftUI and AppKit. The diff viewer and the commit list are virtualised
NSTableViews, so large diffs and long histories stay smooth. - Your real
git, not a reimplementation. Gitmio runs thegityou already have. Hooks, commit signing, credential helpers, the SSH agent and Git LFS work exactly as they do in your terminal. - The everyday loop, fast. Changes, stage, commit, push. Stage whole files, single hunks or individual lines, with a keyboard shortcut for each step.
- AI commit messages, on your terms. Bring any OpenAI-compatible provider (OpenAI, Mistral, Groq, OpenRouter, DeepSeek…) or keep everything on your Mac with Ollama or LM Studio. Keys stay in the Keychain, likely secrets are redacted before anything is sent, and each request shows what it cost.
- Made to sit next to your editor. Open a repository in your IDE, a terminal or Claude Code in one click, and keep several repositories open in tabs and folders.
Gitmio started as a personal tool. It's open source because it might save you time too, and because it will get better with more people using it. Version 1.0.0 covers the everyday Git loop; see the roadmap for what comes next, starting with performance.
And yes, there's Mio: a small companion who shows up on empty screens and while the AI writes your message.
- Staged, unstaged, untracked and conflicted files, refreshed live with FSEvents
- Each file shows its file-type icon, in green when new and blue when edited
- Stage and unstage files, hunks or individual lines; discard lines or files (untracked files go to the Trash)
- Click a hunk header to select the whole hunk, or ⇧/⌘-click to select lines
- Commit, amend, or commit & push in one go
- AI commit messages streamed straight into the editor, following your repository's recent commit style
- Conventional Commits, language, subject-only and custom instructions in Settings › Commit Style
- Undo the last commit while it hasn't been pushed: its changes go back to the staged changes
- History with a branch graph (all branches or the current one), commit details and diffs
- Check out, branch from, cherry-pick or revert any commit
- Create tags, lightweight or annotated, and push them
- Local and remote branches: filter, check out (remote → tracking branch), create, rename, delete, merge into the current branch, ahead/behind counts
- Fetch, pull (fast-forward only, rebase or merge), push / publish, force push with lease, live progress and cancel
- Merge, rebase or cherry-pick in progress: continue or abort
- Stash with a message, optionally including untracked files
- Browse a stash's changes, then apply, pop or drop it
- File tree in the sidebar: open and edit files with syntax highlighting (JS/TS, HTML, CSS, JSON, YAML, Markdown, Dockerfile, Makefile, SQL, Swift, Python, Go, Rust, shell…)
- Rendered Preview for Markdown files
- Click a line to see its Git blame (author, date and commit); local and unsaved changes are identified
- Right-click a file › File Info & History to browse its creation, edits and renames on the current branch
- Create files and folders, drag to move them, drop files from Finder (never overwrites), move items to the Trash, or right-click › Add to .gitignore
- ⌘Z / ⇧⌘Z undo and redo moves, imports, creation and moving to the Trash
- Edit the repository's
.env/.env.*files, even though git ignores them - A warning and an Add to .gitignore button appear when one isn't ignored; tracked ones are also removed from the index (the file stays on disk)
- Several repositories in tabs, restored at launch
- Folders of favourite repositories in the sidebar: click one to show only its repositories; All shows every open tab again
- Open With your IDE (VS Code, Cursor, Zed, Xcode…), Claude Code or a terminal
- Open in Terminal (⌥⌘T) with Terminal, iTerm, Ghostty or Warp; your choice is remembered
- Publish to GitHub (private by default) when a repository has no remote; initialize a folder that isn't a repository yet
- Native dialogs for SSH passphrases and HTTPS credentials
- Light, dark or system appearance, independent of macOS
- Download Gitmio.dmg from the latest release.
- Open it and drag Gitmio to Applications.
- Launch Gitmio and open a repository (⌘O), or drop a folder on its icon.
Gitmio is signed with a Developer ID and notarized by Apple, so it opens without a security warning.
Requirements: macOS 26 (Tahoe) or later, and git. If you don't have it yet, run xcode-select --install or brew install git.
Building needs Xcode 26+ and XcodeGen (brew install xcodegen).
git clone https://github.com/MatisMLDR/gitmio.git
cd gitmio
make install # builds Release, installs /Applications/Gitmio.app and the `gitmio` commandTo update, pull and run make install again. Quit Gitmio first, otherwise the old version keeps running until you relaunch it. Builds from source are signed ad hoc for local use; see Release to produce a signed, notarized DMG.
If xcodebuild says the active developer directory is a Command Line Tools instance, point it at Xcode: sudo xcode-select -s /Applications/Xcode.app.
gitmio # open the current directory
gitmio ~/code/app # open a specific repositorymake install adds the gitmio command. With the downloaded app, link it once:
sudo ln -sf /Applications/Gitmio.app/Contents/Resources/gitmio /usr/local/bin/gitmiogitmio://open?path=… links are supported too.
Click Mio in the commit panel the first time to connect a provider, or open Settings (⌘,) › AI: pick a provider, paste its API key, choose a model (Fetch Models lists what the endpoint offers), then Test Connection. Keys are stored in the macOS Keychain, one per provider. Local servers need no key.
| Provider | Base URL | Key |
|---|---|---|
| OpenAI | https://api.openai.com/v1 |
required |
| Mistral | https://api.mistral.ai/v1 |
required |
| Groq | https://api.groq.com/openai/v1 |
required |
| OpenRouter | https://openrouter.ai/api/v1 |
required |
| DeepSeek | https://api.deepseek.com/v1 |
required |
| Ollama (local) | http://localhost:11434/v1 |
none |
| LM Studio (local) | http://localhost:1234/v1 |
none |
| Anything OpenAI-compatible | your URL | as needed |
With OpenAI, pick one of the recommended models:
| Model | Input | Output | Use |
|---|---|---|---|
gpt-6-luna (default) |
$0.10 / 1M tokens | $0.50 / 1M tokens | fast and cheap, ideal for commit messages |
gpt-6.1-sol |
$2 / 1M tokens | $10 / 1M tokens | highest quality |
A typical commit message costs a fraction of a cent with gpt-6-luna. Settings › AI Usage shows what AI costs you: today, this month, all time, per model, and per request. Token counts come from the provider (stream_options.include_usage); when a provider doesn't report them they are estimated and marked “≈”. The cost of each generation is also shown under the commit message. Prices live in ModelPricing.known (Usage.swift).
The staged diff, the list of changed files, the branch name and the last 10 commit subjects. Before sending:
- lockfiles, generated and binary files are replaced by a one-line summary;
- likely secrets (private keys, cloud and API tokens,
password = "…") are replaced by[REDACTED]; - large diffs are truncated.
Use Ollama or LM Studio if you want nothing to leave your Mac.
When a repository has no remote, a “Not on GitHub yet” banner and the toolbar's Publish to GitHub button open a sheet to choose the repository name, an optional description and the visibility (Private by default). Gitmio creates the repository, adds it as origin and pushes the current branch.
Sign-in: if the GitHub CLI is signed in (gh auth login), its account is used. Otherwise paste a token with the repo scope (Create a Token on GitHub… opens the pre-filled page); it is stored in the Keychain and can be changed in Settings › Git. The remote uses SSH when your key is accepted by GitHub, HTTPS with the token otherwise.
GitHub Enterprise: defaults write app.matis.gitmio github.apiURL https://github.example.com/api/v3.
| Action | Shortcut |
|---|---|
| Open repository | ⌘O |
| New tab / Close tab | ⌘T / ⌘W |
| Next / previous tab | ⌘⇧] / ⌘⇧[ |
| Changes / History / Stashes / Environment | ⌘1 / ⌘2 / ⌘3 / ⌘4 |
| Save the .env file being edited | ⌘S |
| Open in Terminal | ⌥⌘T |
| Stash all changes | ⌘⇧S |
| Refresh | ⌘R |
| Stage / unstage selected files or lines | Space (in the file list or diff) |
| Stage all / Unstage all | ⌘⇧A / ⌘⇧U |
| Generate commit message | ⌘⇧G |
| Commit / Commit & push | ⌘↩ / ⌘⇧↩ |
| Fetch / Pull / Push | ⌘⇧F / ⌘⇧L / ⌘⇧P |
| Discard selected files | ⌫ |
Gitmio 1.0.0 covers the everyday Git loop. The next steps, roughly in order:
- Signed releases. Notarized DMG on GitHub Releases.
- Performance. Measure, then speed up what's slow on big repositories: status refresh, history loading, very large diffs, startup time and memory with many tabs open.
- Homebrew.
brew install --cask gitmio. - Updates. Know when a new version is out, and update from the app.
- More checks in CI. Run the app-level checks (
make test-folders,test-files…) on every pull request, not only the core tests. - Your ideas. Missing something in your daily Git loop? Open an issue.
App/ SwiftUI app (MainActor by default)
State/RepositoryStore state and actions for one repository
Views/Diff/DiffTableView NSTableView-based, virtualised diff
Views/History/ NSTableView-based commit list with the graph
Packages/GitmioCore/ UI-free library, fully tested
Git/GitRunner runs git (async, cancellable, progress)
Git/StatusParser `status --porcelain=v2 -z`
Git/DiffParser unified diffs (quoted paths, CRLF, no-newline markers)
Git/PatchBuilder partial patches for line staging (`git apply --cached --recount`)
Git/History log parsing, commit graph lane layout, stashes
AI/ OpenAI-compatible streaming client, diff sanitizer, prompt builder
Tests/ checks run against the built Debug app
The Xcode project is generated from project.yml and is not committed.
make run # generate the Xcode project, build Debug and launch
make test # run the core test suite
make test-folders # verify folder and All tab navigation
make test-navigation # verify native column reuse and editor isolation when switching repositories
make test-files # verify file moves, imports and drag feedback
make test-file-git # verify file blame, metadata and commit history
make test-sidebar # verify sidebar state restoration across app processes
make test-terminals # verify terminal and Claude Code launch configurations (needs iTerm installed)Or make project && open Gitmio.xcodeproj.
scripts/release.sh builds Gitmio, signs it with a Developer ID, notarizes the app and the DMG, and writes dist/Gitmio.dmg:
DEVELOPER_ID="Developer ID Application: Your Name (TEAMID)" scripts/release.shNotarization uses the notary keychain profile by default (set NOTARY_PROFILE to use another one). Then publish the DMG on a GitHub release tagged vX.Y.Z; the download link in this README always points to the latest one. scripts/gitmio.rb is a Homebrew cask template.
Does it work with GitLab, Bitbucket or self-hosted remotes?
Yes. Gitmio drives your installed git, so any remote works. Only the Publish to GitHub shortcut is GitHub-specific.
Is there a Windows or Linux version? No. Gitmio is a native macOS app.
Do I need an AI provider? No. Everything works without one; AI only fills in the commit message when you ask it to.
Does my code leave my Mac? Only the staged diff, and only when you ask for a commit message, to the provider you chose. With Ollama or LM Studio, nothing leaves your Mac. See What is sent.
Bug reports, ideas and pull requests are welcome. Read CONTRIBUTING.md to get started, and please follow the Code of Conduct. Found a security issue? See SECURITY.md.
If Gitmio saves you time, a ⭐ helps other people find it.


