When comparing Gitblit vs Gerrit, the Slant community recommends Gerrit for most people. In the question“What are the best self-hosted web-based Git repository managers?” Gerrit is ranked 6th while Gitblit is ranked 10th. The most important reason people chose Gerrit is:
Gerrit supports group and user authorizations for various repositories. Only authorized users can push code to the master branch.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Just works
Setting up is easy and usage is intuitive.
Pro Free and open source
GitBlit is free and open source (under Apache License) .
Pro Cross-platform
Gitblit is available for Windows, OS X and Linux.
Pro Built-in authorization in windows
So you don't have to worry about setting up OpenSSH on Windows.
Pro Authorizations for users and groups
Gerrit supports group and user authorizations for various repositories. Only authorized users can push code to the master branch.
Pro Integration with LDAP, bug-tracking tools, CI, etc.
Full integration with LDAP (users, groups), bug-tracking systems (Jira, Bugzilla), CI (Jenkins, Hudson) and other tools.
Pro Configurable project workflow, not always feature branches are the most suitable workflow
Pro Project policy customization can be done with hooks and plugins
Multiple hooks available on various events. Plugin API for more customization of project behavior.
Pro Self-contained installation of Java package, simple upgrades
Most upgrades require only download of new war file and running it in init mode. In some rare cases db reindex is required.
Pro Web UI extension with plugins
A number of plugins available for web UI extension. Plugin API for more customization.
Cons
Con No code reviews
It's not possible to start any code reviews on Pull Requests
Con Access controls are repository-based
Built in access controls are not branch-based.
Con No Squash Merge
There is no Squash Merge functionality
Con No project admins
There's no separation between a system admin and a project admin. There's owners for projects, but to create a new repository one has to be a general admin.
Con The UI is very cluttered
Gerrit's user interface is very cluttered and messy, and quite ugly to look at. The navigations is also not very intuitive, which may hold some people off.
Con Difficult to customize
Fixing the UI/UX problems with CSS customization is nearly impossible. The markup doesn't include many classes, making it difficult to target CSS rules to specific elements of the interface.