When comparing GitHub Enterprise 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 GitHub Enterprise is ranked 8th. 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 Nice and usable UI
GitHub's UI is clean and intuitive. Each view is designed to not fill the screen with useless information.
For example, the repository view displays only the most crucial data about that repo - on the top it displays the number of commits, branches, releases and contributors. When clicked, each of them will take the user to a page that displays more detailed information.
Pro Support for various cloud hosting platforms
GitHub enterprise is available for Amazon AWS, VMware and now on OpenStack KVM as well.
This facilitates the use of GitHub Enterprise for people already familiar with these platforms and allows teams to keep using their infrastructure of choice.
Pro JIRA integration
When linked to JIRA, branches, commit messages and pull requests can all reference JIRA issues. This allows JIRA to display information about your development activity in the corresponding issue.
Pro Powerful search functionality
GitHub Enterprise has powerful search features that allow users to search by file name or project name. It's one of GitHub's most powerful tools.
Pro LDAP support
GitHub has improved the LDAP performance. By optimizing searching strategies, they have reduced significant network IO and total queries. Therefore, in some cases as much as 40 percent less data is transmitted on sign on.
Pro Gists support
Gists are ways to share code or have conversations about anything without needing a full git repo, and still, they work as git repos so they are versioned, forkable and usable from git.
Pro GitHub Enterprise dows not render just markdown
GitHub does not render just markdown, it also renders geojson files, 3D models and csv files.
Pro GitHub has the ability to edit code right on the web page
With GitHub Enterprise edits to code files and to files in general can be made inline right on the web page UI.
Pro 45-day trial available
There is an option to test GitHub Enterprise for free for 45 days.
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 Proprietary
If being proprietary in general is not bad enough, it's owned by Microsoft.
Con Can't natively manage large files and binaries (yet)
Max file size limited to 100MB. Git Large File Storage (GLFS) is in the works, but not ready yet. No other native options for large file/binary management.
Con No Continuous Integration packaged into the software
You'll have to set up Jenkins or pay for CircleCI, Travis, etc. in order to get CI running alongside GitHub Enterprise.
Con Update cycle lags behind public github
This is intentional, could be seen as advantageous.
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.