Fugitive is a Git integration plugin for Vim. It connects version control operations with Vim’s editing environment, allowing developers to inspect repositories, review changes and manage commits without repeatedly switching between their editor and a separate Git application.
The plugin uses Vim buffers, windows and commands to present Git information. Rather than attempting to replace Git, it makes Git’s existing functionality more accessible through editor-aware commands and interactive repository views.
This is free and open source software.
Key Features
- :Git executes Git commands directly from Vim, with output handled according to the command being run.
- Provides an interactive status view showing modified files, staged changes and incoming or outgoing commits.
- Stage and unstage files and individual hunks using mappings in the status buffer.
- Commit messages and interactive rebase instructions can be edited within the current Vim session.
- :Gedit opens Git objects, including earlier file revisions, commits, trees and tags.
- :Gdiffsplit compares the current buffer with staged content or an earlier revision using Vim’s diff facilities.
- :Git blame displays annotated file history with navigation to the commits responsible for individual lines.
- :Git mergetool and :Git difftool populate the quickfix list for reviewing changes.
- :Gread retrieves content from another Git revision into the current buffer.
- :Gwrite can stage changes from the current buffer or update the working tree, depending on context.
- Integrates Git operations for moving, renaming and deleting tracked files with Vim’s buffer management.
- :Ggrep provides repository searching through Vim’s quickfix and location lists.
- :GBrowse opens repository files and selected lines in supported hosting services.
- FugitiveStatusline() provides branch information for inclusion in Vim’s status line.
- Cross-platform support – runs on Linux, macOS, and Windows.

Fugitive is written in VimL. Learn VimL with our recommended free books and free tutorials.
Related Software
| Text-Based Git Clients | |
|---|---|
| lazygit | Simple yet hugely popular terminal UI for git commands, written in Go |
| GitUI | Offers the comfort of a GUI git client but right in your terminal |
| Fugitive | Vim plugin for Git |
| Magit | Inspect and modify your Git repositories with Emacs |
| tig | ncurses-based Git repository browser |
| Neogit | Git interface plugin for Neovim inspired by Magit |
| forgit | Utility for using git interactively |
| Gitu | TUI Git client inspired by Magit |
| ggc | Go Git CLI |
| bit | Experimental modernized git CLI |
| pygitzen | Python-native terminal-based Git client |
| gitin | Commit, branch, status explorer for Git |
| Froggit | Modern, minimalist Git TUI |
| Gitwig | Keyboard-driven terminal interface for managing Git repositories |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.