Automic VaultAutomic Vault

brew

Install gitu with Homebrew, apk, MacPorts, Nix, pacman, scoop

TUI Git client inspired by Magit. Version 0.42.0 via Homebrew; verified 2026-05-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gitu

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gitu

MacPorts ports tree · devel/gitu/Portfile · source: api.github.com

Windows

Scoopverified · 92%
scoop install extras/gitu

Scoop official bucket manifest trees · bucket/gitu.json · source: api.github.com

overview

Package summary

TUI Git client inspired by Magit

Commands and aliases

  • gitu

history

Project history and usage

Gitu is a terminal Git client inspired by Magit, the influential Emacs Git porcelain. It aims to bring Magit's keyboard-driven staging, history, commit, branch, stash, and rebase workflows to users outside Emacs.

Project history

The repository was opened in December 2023. Its README describes the project as a Git porcelain outside Emacs and states that Gitu aims to implement many core Magit features over time while staying familiar to previous Magit users.

Early releases moved quickly through the 0.x line in 2024. The README lists support for staging and unstaging files, hunks, and lines; showing commits and opening an editor at a line; branch operations; commit, amend, and fixup flows; fetching, pulling, pushing, rebasing, resetting, reverting, and stashing.

The project also codified terminal configuration early: editor selection follows `VISUAL`, `EDITOR`, and `GIT_EDITOR`, and the documented config file path is `~/.config/gitu/config.toml` on Linux and macOS, with an AppData path on Windows.

Adoption history

Gitu's packaging spread shows interest beyond its source repository. The input package metadata and install docs cover Cargo, GitHub release binaries, Arch Linux, Nix flakes, mise, Homebrew, MacPorts, pacman, APK, and Scoop. That matters because Git TUIs are often installed as everyday shell tools rather than project-local dependencies.

How it is used

Practitioners use Gitu inside Git repositories as a keyboard-first control surface for reviewing changes, staging precise hunks or lines, inspecting logs, committing, switching branches, rebasing, and managing stashes. The help menu and Magit-like key choices reduce the need to remember a long set of standalone Git commands.

The tool sits between raw Git and full graphical clients: it keeps work in a terminal, opens a configured editor when needed, and gives Magit-style workflows to developers who do not live inside Emacs.

Why package nerds care

Gitu is significant as part of the Rust-era Git TUI wave. It competes for the same install slot as tools like gitui and lazygit, but its package identity is sharper: Magit-inspired Git porcelain for terminal users outside Emacs.

Timeline

  • 2023: Public GitHub repository opened.
  • 2024: Early 0.x GitHub releases published.
  • 2024: Install docs covered Cargo, Arch Linux, release binaries, mise, and Nix flakes.
  • 2026: 0.42 release line visible in GitHub releases.

Related projects

  • Magit for Emacs.
  • Git terminal UIs such as gitui and lazygit.
  • Cargo, Nix flakes, mise, Homebrew, Arch Linux, and Scoop packaging workflows.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:client

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/gitu/config.toml
Windows
%USERPROFILE%\AppData\Roaming\gitu\config.toml

executables

Installed executables

CommandKindExposureNote
gitucliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-07
manager version0.42.0
manager updated2026-05-22
local dataok
upstreamcurrent
latest detectedv0.42.0

https://github.com/altsem/gitu

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gitu
Version0.42.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gitu
Homepagehttps://github.com/altsem/gitu
Repositoryhttps://github.com/altsem/gitu
Upstream docshttps://github.com/altsem/gitu#readme
LicenseMIT
Source archivehttps://github.com/altsem/gitu/archive/refs/tags/v0.42.0.tar.gz
Last updated2026-05-22T21:00:22Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegitu
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gitu

nix profile install nixpkgs#gitu
  • normalized package name match
  • Matched by: Gitu
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/gitu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

gitu 0.42.0-r0

TUI Git client inspired by Magit

https://github.com/altsem/gitu

sudo apk add gitu
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitu
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gitu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gitu-doc 0.42.0-r0

TUI Git client inspired by Magit (documentation)

https://github.com/altsem/gitu

sudo apk add gitu-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitu
  • normalized package name match
  • Matched by: Gitu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

gitu 0.42.0-1

A TUI Git client inspired by Magit

https://github.com/altsem/gitu

sudo pacman -S gitu
  • License: MIT
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Gitu
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gitu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

gitu

sudo port install gitu
  • normalized package name match
  • Matched by: Gitu
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gitu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

extras/gitu

scoop install extras/gitu
  • normalized package name match
  • Matched by: Gitu
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gitu.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment