When comparing Magit vs Ungit, the Slant community recommends Magit for most people. In the question“What are the best Git clients for Windows?” Magit is ranked 6th while Ungit is ranked 21st. The most important reason people chose Magit is:
Simple tasks, such as commits, can quickly be made without leaving the editor.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Uninterrupted workflow for common tasks
Simple tasks, such as commits, can quickly be made without leaving the editor.
Pro Diffs are easy
Since it's integrated with Emacs, diffs are very easy to fix. You can jump right to any file you want to fix as soon as it comes up in the logs or in the status view.
Pro Easy to remember mnemonics
You can easily learn the mnemonics for the most common tasks and use them to your advantage to speed up your workflow.
Pro Better visualization and interactive workflow
Pro Stage hunks or even just parts of a hunk using a single key press
In Magit staging a hunk or even just part of a hunk is very easy.
Magit also implements several other "apply variants" in addition to staging and unstaging. For example: you can also discard or reverse a change, or apply it to the working tree.
Pro Blame information can be viewed inline with the file
Pro Multiple buffers are used to show contextual information
Pro Powerful rebasing
Pro Available in Homebrew
brew install magit
Pro Free and Open Source Software
Ungit is open source software available under the MIT Licence.
Pro Cross-platform
Works on Windows, Linux, and OS X.
Pro Optional Integration with Modern Text Editors
Ungit can be integrated directly into modern text editors, Atom, Brackets, and VS Code.
Pro Web-based interface
Ungit is web-based, meaning you can run it on your cloud/pure shell machine and then use the UI from your browser.
Cons
Con Useful only for people who use Emacs
Magit is only useful if your text editor of choice is Emacs. It wouldn't really make any sense to open up emacs just to run Magit if you use another editor.
Con Node.js dependent
Con Setup is not user-friendly
Ungit is distributed as an NPM package and requires git and Node.js to be installed on your system before you can run it. Ungit must be launched by running ungit
in a command line terminal.
Con Exposes git commands to your network
No authentication, if someone can communicate with your computer on the port this is running on, they can execute any git command they want on your repos as well as view your filesystem's folders.