GitUI CLI

GitUI is a terminal Git interface that runs operations asynchronously, keeping the interface responsive during Git work.

  • 22,622 ★ on the repository
  • Last commit
  • MIT
CLI

Extended access

Why this level

  • Revert and reset can discard uncommitted edits, and commits can run configured Git hooks.
All reasons and checks

gitui-org/gitui

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/gitui

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Revert and reset can discard uncommitted edits, and commits can run configured Git hooks.

This is third-party code. Review the repository files before installing.

What it does

GitUI presents a repository in a terminal with contextual key help. Review changes, stage files, hunks or lines, create commits and manage stashes. Search history and compare committed changes. Branch operations, remote fetch and push and submodules are supported. Asynchronous Git operations keep the interface responsive. The tool does not completely replace Git’s command line, so unsupported cases need normal commands and separate verification.

Who it is for. Commit authors reviewing line-level changes in a terminal with contextual action help.

Good fit when

  • Edits for different tasks share a file, and the author assembles a focused commit.
  • A reviewer searches history for a change to a specific part of the code.
  • A user inspects stashed work before resuming it.
  • After agent edits, a person compares the index with the agreed task.

Not a fit when

  • The workflow depends on sparse repositories or Git LFS.
  • Interactive rebasing inside GitUI is mandatory.
  • Uncommitted edits cannot be risked during resets.

Example request

Explain inspecting the GitUI index after agent work without resetting, committing or pushing.

Limitations

GitUI remains beta software, so verify needed operations on a repository copy. Sparse repositories and Git LFS are not supported, while some Git features remain on the roadmap. HTTPS requires an explicitly configured credential helper; authentication in another Git tool may not suffice. Resetting or reverting files, hunks and lines can discard working edits, so preserve important changes and verify the selected target before confirmation.

How to disable. Quit GitUI. Saved commits and index changes remain in the repository.

FAQ

Can I stage individual lines?

Yes. Open the file’s diff and use the line-staging action shown in contextual help. Review staged changes before committing; staging a line and staging a whole hunk select different amounts of work.

Why is HTTPS login failing?

Explicitly configure `credential.helper` in Git settings for HTTPS. Signing in through another Git client does not guarantee this configuration. See the linked discussion under [known limitations](https://github.com/gitui-org/gitui#limitations).

Is Git LFS supported?

No. Use a suitable Git tool for that repository.

Can I search history?

Yes. Find the commit in history and open its diff to see the changes it contains.

How do I collect logs for an interface error?

Run `gitui -l`. The [diagnostics section](https://github.com/gitui-org/gitui#diagnostics) lists log paths for macOS, Linux and Windows; use the one for your system.

Discussion

No questions or reviews yet.

CLI tools

lazygit is a terminal Git interface for bisecting regressions: mark good and bad revisions while locating the faulty commit.

CLIExtended access83.7KRepository stars

The CLI replays Git changes as typing animations to present commits and working-tree edits in the terminal.

CLIMinimal access5.3KRepository stars

A CLI asks questions about a Git diff before push and uses a chosen model to assess how well the developer understands the change.

CLIExtended access373Repository stars

A CLI turns Git changes into a guided code walkthrough with questions and explanations written by your existing agent

CLIExtended access363Repository stars

bat is a source-viewing CLI that marks Git changes and reveals whitespace and non-printable characters around an error.

CLIExtended access61.1KRepository stars

The gix and ein CLIs expose repository inspection and selected operations built on a Rust implementation of Git.

CLIExtended access12.1KRepository stars

README in short

Commits can run Git hooks. GPG signing has documented limitations to review before use.

README badge

Report a problem

Foxx AIGitUI
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.