Neogit brings an interactive Git interface to Neovim with popups for branch, commit, rebase, and stash workflows inspired by Magit.
Overview
Neogit opens as a tab, split, float, or other window kinds via the :Neogit command or Lua setup API. Popup menus cover bisect, branch, cherry-pick, commit, diff, fetch, log, merge, push, rebase, reset, stash, tags, and worktrees.
Visual selections in log or status views feed actions such as cherry-picking commit ranges. Highlight groups integrate with color schemes, and hooks fire before branch checkouts or after pushes, pulls, and merges.
Configuration uses require('neogit').setup with sensible defaults. The master branch tracks the latest stable Neovim release.
Neogit is a plugin library loaded into the editor rather than a standalone Git binary.
Key features
- Magit-style popup menus
- Tab, split, and float layouts
- Visual range cherry-picks
- Branch and remote configuration
- Lua setup and events API
- Pre-checkout hooks
- Semantic versioning releases
- Lazy.nvim installation examples
Use cases
- Staging and committing in Neovim
- Interactive rebase workflows
- Reviewing logs and diffs in-editor
- Managing remotes and worktrees