Version Control repository management services or systems are a key component in the software development workflow.
In the last few years, there’s been much debate about GitLab vs GitHub, as they positioned themselves as handy assistants for developers, particularly when working in large teams.
With the latest release of GitLab, GitLab took a major leap forward from code management, to deployment and monitoring. GitLab calls it Complete DevOps platform.
They aim for the entire software development, deployment, and DevOps market.
Ready?
Both, GitLab and GitHub are web-based Git repositories.
The aim of Git is to manage software development projects and its files, as they are changing over time. Git stores this information in a data structure called a repository.
Such a git repository contains a set of commit objects and a set of references to commit objects.
A git repository is a central place where developers store, share, test and collaborate on web projects.
Version control systems (VCS) are essential in software development, managing changes in source code.
The GitLab vs GitHub debate underscores their importance, especially in large teams.
In choosing between GitLab and GitHub, it’s crucial to look beyond code repositories. GitLab’s move into deployment and monitoring aligns with the trend of version control systems becoming integral to the broader DevOps pipeline. Understanding this evolution is vital as developers navigate the GitLab vs GitHub debate, ensuring informed decisions in the evolving landscape of software development.
That means when talking about the differences and similarities of GitLab vs GitHub, we need to look beyond code repositories and take a look at the entire process.
Nowadays, GitLab and GitHub are more than “just” git repositories for developers.
GitLab says about their recently announce Complete DevOps vision:
Now, we’re taking it a step further to unite development and operations in one user experience.
GitLab realized the need for better and deeper integrations between development and DevOps toolchains. With the latest release of 10.0, GitLab rethinks the scope of tooling for both developers and operation teams.
Let’s start with the basics. GitHub is a Git-based repository and. open source code hosting platform with 40 million users (January 2020) making it the largest source code globally. Originally, GitHub launched in 2008 and was founded by Tom Preston-Werner, Chris Wanstrath, and PJ Hyett.
GitHub projects can be made public and every publicly shared code is freely open to everyone. You can have private projects as well, but only 3 collaborators are allowed on a same project with the free plan.
Public repositories on GitHub are often used to share open-source software. Besides the basic code repository, GitHub can be used for issue tracking, documentation, and wikis.
Overall, more than 100 million repositories have been created on GitHub wihtin 2017.
Most used repository tags on Github.com
Similar to GitHub, GitLab is a repository manager which lets teams collaborate on code. Written in Ruby and Go, GitLab offers some similar features for issue tracking and project management as GitHub.
Founded by Dmitriy Zaporozhets and Valery Sizov in 2011, GitLab employs more than 1,300 people and according to Wikipedia, GitLab has 100,000 users (March 2017) and is used by enterprises such as IBM, Sony, and NASA.
According to various sources and our own experience, we identified the following key differences you should know when making the decision: GitLab vs GitHub.
With GitLab, you can set and modify people’s permissions according to their roles. In GitHub, you can decide if someone gets read or write access to a repository.
With GitLab, you can provide access to the issue tracker (for example) without giving permission to the source code. This is obviously great for larger teams and enterprises with role-based contributors.
One of the big differences between GitLab and GitHub is the built-in Continuous Integration/Delivery of GitLab. CI is a huge time saver for many development teams and a great way of QA (nobody likes pull requests that break your application).
GitLab offers its very own CI for free. No need to use an external CI service. And if you are already used to an external CI, you can obviously integrate with Jenkins, Codeship, and others.
GitLab has clearly been addressing the DevOps market earlier than its competitor as well as offering an operations dashboard that lets you understand the dependencies of your development and DevOps efforts.
Operations Dashboard, source: gitlab.com
GitLab CI offers Auto DevOps which automatically runs CI/CD without a human being actually setting it up.
But, really, every project should be running some kind of CI. So, why don’t we just detect when you’ve pushed up a project; we’ll just build it, and we’ll go and test it, because we know how to do UAT testing.
Mark Pundsack, source: gitlab.com
So, how does CI / CD work inside the GitHub universe? GitHub released Actions in late 2019, which essentially allows you to write tasks that automate and custom software development lifecycle workflow. It’s also free to get started.
But GitHub does not come with a deployment platform and needs additional applications, such as Heroku.
Download for free this step-by-step CI/CD pipeline setup guide with GitLab vs. GitHub & Travis CI.
GitLab, as well as GitHub, provide a simple issue tracker that lets you change status and assignee for multiple issues at the same time.
Both are great issue trackers, especially when connected with a visual bug tracker like Usersnap.
While your developers still enjoy the great issue tracking interface of GitLab and GitHub, your testers, colleagues, and clients can simply report bugs through the Usersnap widget.
Bug reports and user feedback can automatically be sent to GitLab or GitHub. Or you can pre-filter those tickets inside Usersnap and manually send them to your development project.
Incoming bug reports displayed in your GitHub repository
Incoming bug reports displayed in your GitLab repository
When thinking about moving to GitLab or GitHub, you should also consider the setup costs and resources needed for getting started. In that regard, the topic of available import and export features is pretty important.
GitLab offers detailed documentation on how to import your data from other vendors – such as GitHub, Bitbucket – to GitLab.
Import projects from 3rd parties, source:gitlab.com
GitHub, on the other hand, does not offer such detailed documentation for the most common git repositories. However, GitHub offers to use GitHub Importer if you have your source code in Subversion, Mercurial, Azure DevOps, and others.
Also when it comes to exporting data, GitLab seems to do a pretty solid job, offering you the ability to export your projects including the following data:
GitHub, on the other hand, seems to be more restrictive when it comes to the export features of existing GitHub repositories.
Both GitLab and GitHub support a wide range of third-party integrations, enhancing workflow efficiency.
itHub has a marketplace for selected tools, while GitLab offers multiple integrations for development and DevOps teams.
Both GitLab and GitHub offer a wide range of 3rd / third party tools and integrations. Integrating your version control system with other applications enriches your workflows and can boost productivity for your developers and your non-developers.
In order to check out if your favorite apps are compatible with GitLab and GitHub, I recommend checking out the documentation of GitLab and GitHub.
Besides the available integration partners, GitHub launched their GitHub marketplace in May 2017 offering you free versions of selected tools and applications.
GitLab took a similar path and offers multiple integrations for development and DevOps teams.
By providing a more detailed look at the integration ecosystems of both GitLab and GitHub, developers can gain a deeper understanding of the tools available to them for enhancing collaboration and streamlining their development workflows.
GitHub positioned itself among its community of developers. And its popularity is mainly driven by the highly active GitHub community of millions of developers. You can discuss problems and maybe learn a few unofficial but awesome hacks there. On the other hand, GitLab undertook some great activities, such as hosting community events and connecting open source contributors.
If you’re looking for the biggest community of developers, chances are high that GitHub is the better place to be.
On an enterprise-level, you should consider further factors when making an informed decision of whether to use GitLab vs GitHub.
GitHub is highly popular among developers, and over the last few years, it gained popularity among larger development teams and organizations too.
Custom enterprise features of GitHub
On the other hand, GitLab is pretty strong on enterprise features, too. With different enterprise plans available, GitLab is particularly popular among larger development teams.
Here is, how GitLab and GitHub compare on pricing.
While GitHub’s enterprise plan starts at 2,500 USD per 10 users per year (= 250 USD per user), GitLab’s enterprise starter plan is 39 USD per user/per year.
Features | GitLab | GitHub |
---|---|---|
released | September 2011 | April 2008 |
Free plans | Unlimited public and private repositories | Free for public repositories only |
Paid plans | Starts at $39 per user per year | Starts at $84 per user per year |
Code review features | yes | yes |
Wiki | yes | yes |
Bug & issue tracking | yes | yes |
Private branch | yes | yes |
Build system | yes | yes (with 3rd party service) |
Import projects | yes | no |
Export projects | yes | no |
Time tracking | yes | no |
Web-hosting | yes | yes] |
Self-hosting | yes | yes (with enterprise plan) |
Popularity | 546.000+ projects | 69.000.000+ projects |
Undoubtedly, GitHub is still the most popular git repository with the largest number of users and projects. However, GitLab is doing a fantastic job offering your entire development (and DevOps) teams great tools for more efficient workflows.
Consider incorporating Usersnap, a visual user feedback and bug tracking tool used by companies like Facebook and Microsoft.
Usersnap can seamlessly connect with GitHub and GitLab issues, streamlining the bug reporting process.
Get started with Usersnap and deliver what users want. Collect your first 20 feedback items for free, upgrade to continue acting on the insights.
Ever wonder how some companies make product updates feel like the highlight of your day? …
Picture this: You’re in the middle of a hectic workday, balancing strategic decisions with daily…
Ever wish customer feedback came with subtitles? With the right feedback analytics tools, you can…
Survey design is the backbone of effective data collection, enabling businesses, product managers and researchers…
Wondering how to master Jira’s vast capabilities for strategic project/product success? Epics are the key…
In this article, we walk you through the ultimate in-app feedback how to strategy, including…