Bit is a new Git CLI written in Go that features autocompletion / suggestions for commands, flags, files and branch names, and even some new commands. It’s available for Linux, macOS and Microsoft Windows.
bit, press the
Enter key, and the interactive bit prompt is displayed. Use the
Down arrow keys to navigate through all the available Git options, or type a few letters of the command you’re looking for to filter the results.
bit checkout and
bit switch will also show interactive prompts after you press
Besides supporting all the available Git commands, Bit also comes with a few commands of its own. For example, type
bit pr to view and checkout pull requests from GitHub (this requires having GitHub CLI installed). Or type
bit save to synchronize your changes to the origin branch, this being roughly the equivalent of
git pull -r; git push.
Bit features include:
- Command and flag suggestions to help you navigate the plethora of options git provides you (suggestions work with Git aliases)
- Autocompletion for files and branch names when using
- Automatic fetching & fast forwarding to keep your branches up to date and prevent merge conflicts
- Bit is fully compatible with Git
- Commands from git-extras such as
- New commands like:
- simplify your entire rebase workflow with a single command:
bit prto view and checkout pull requests from Github (requires GitHub CLI)
bit saveto synchronize your changes to origin branch (roughly equivalent to
git pull -r; git push)
- Can be auto-updated using
bit update, and it can install classical tab completion using
This is a Bit demo GIF created by its developer:
You may also like: forgit: Interactive Git Commands With Previews Powered By fzf Fuzzy Finder
Bit also supports some visual customization. If you don’t like the default theme, or you use a light terminal theme, you can invert the Bit theme by exporting
BIT_THEME=inverted, or use a monochrome theme using
BIT_THEME=monochrome. It doesn’t seem to support custom color themes though.
The tool is less than 2 months old, so there are quite a few other features planned, like support for gitmoji for commit messages, a command history, Git Town integration, a
bit undo or
bit fix command, and more.
Download and install Bit
Bit is available as a precompiled binary for Linux, NetBSD, macOS and Windows.
On Linux, extract the Bit archive, open a terminal and
cd into the folder where the
bit executable was extracted, and install it to
sudo install bit /usr/local/bin
For other ways of installing Bit, see its installation section.