GitHub vs GitLab vs Gogs

Need advice about which tool to choose?Ask the StackShare community!

GitHub

189.5K
155.8K
+ 1
10.2K
GitLab

42.7K
35K
+ 1
2.3K
Gogs

155
255
+ 1
182
Advice on GitHub, GitLab, and Gogs
Matanel Crown
Software Developer at BBT.live · | 7 upvotes · 66.2K views

Hi all,

I would like some information regarding the benefits an aspiring start-up company may have, while using GitHub Enterprise vs the regular GitHub package. On a separate issue, I'd like to understand whether GitLab may have some DevOps-related advantages GitHub does not.

Thank you in advance, Matt

See more
Replies (5)
Luke Carr
Founder & CEO at Moducate · | 7 upvotes · 55.5K views

I'd lean towards GitHub (either billing plan) for one key reason that is often overlooked (we certainly did!).

If you're planning on creating OSS repositories under your start-up's name/brand, people will naturally expect to find the public repositories on GitHub. Not on GitLab, or Bitbucket, or a self-hosted Gitea, but on GitHub.

Personally, I find it simpler to have all of the repositories (public and private) under one organisation and on one platform, so for this reason, I think that GitHub is the best choice.

On the DevOps side, GitLab is far superior to GitHub (from my experience using both GitHub Enterprise and GitLab Ultimate), but for the one aforementioned, we're using GitHub at Moducate.

See more
Recommends
GitLabGitLab

Advantages for Github Enterprise is that you get more storage, CI minutes, advanced security features, and premium support. If you don't really need any of those, you can stick with Github Team. Though if you're going to use Gitlab CI, I suggest going with Gitlab instead of Github so you won't have to maintain 2 repositories.

Regarding the advantages that Gitlab CI has over Github, there's a detailed explanation here: https://about.gitlab.com/devops-tools/github-vs-gitlab/ci-missing-github-capabilities/

If you need more minutes for Gitlab CI, you can always use your own Gitlab CI runners instead of the shared runners: https://docs.gitlab.com/runner/register/

See more
Brandon Miller

With the advent of Gitlab actions/workflows, it's hard to not choose Github anymore. I say that with all love for Gitlab, as it's been my personal tool of choice for a long time because of it's inbuilt CI/CD solutions. Github is just all around more adopted by the community so you'll always find more support; and if you go with enterprise you will get 50k build minutes a month as well as a ton of extra tools that will definitely help a startup out from the get-go. That being said, it's priced at $21 per user, per month so if you cannot afford that, I say go with Github.

See more
Evgeny Rahman
Full Stack Solution Architect · | 3 upvotes · 23.3K views
Recommends

GitHub Enterprise comes with included SAML SSO support, and a huge free tier for Actions and Packages, which gives your team everything they need to get off to a great start and scale up without hitting any roadblocks along the way. An important point to consider is that GitHub Enterprise comes in both self-hosted and cloud-hosted variations, so you don't need to manage your own infrastructure for it unless you would prefer to.

With GitHub Enterprise, you also plug in to the largest development community in the world, and can collaborate directly on the open source projects that are probably already part of your stack. You can also access the latest and greatest in development tools such as GitHub Codespaces, GitHub Co-Pilot, and much much more, with great new features being shipped every day.

See more
Recommends
GitLabGitLab

GitHub is trying to catch up with GitLab. GitLab was built from the ground up with DevOps tooling. GitHub is years away on features.

See more

Hi, I need advice. In my project, we are using Bitbucket hosted on-prem, Jenkins, and Jira. Also, we have restrictions not to use any plugins for code review, code quality, code security, etc., with bitbucket. Now we want to migrate to AWS CodeCommit, which would mean that we can use, let's say, Amazon CodeGuru for code reviews and move to AWS CodeBuild and AWS CodePipeline for build automation in the future rather than using Jenkins.

Now I want advice on below.

  1. Is it a good idea to migrate from Bitbucket to AWS Codecommit?
  2. If we want to integrate Jira with AWS Codecommit, then how can we do this? If a developer makes any changes in Jira, then a build should be triggered automatically in AWS and create a Jira ticket if the build fails. So, how can we achieve this?
See more
Replies (1)
Sinisha Mihajlovski
Design Lead | Senior Software Developer at Endava · | 1 upvotes · 78.8K views
Recommends

Hi Kavita. It would be useful to explain in a bit more detail the integration to Jira you would like to achieve. Some of the Jira plugins will work with any git repository, regardless if its github/bitbucket/gitlab.

See more
Decisions about GitHub, GitLab, and Gogs

We chose GitHub for version control hosting because of its high-quality and performant pull request user interface, as well as GitHub Actions.

We also selected GitHub as our first OAuth2 authorization provider because of its large community, high-quality documentation, and sophisticated App framework for granular permission management and event notifications.

See more

The company needed to move from hosting all of our repositories, tickets & releases from a GForge instance hosted by our former parent company. The decision was made to move to GitHub Enterprise but the developers were not told until there was 1 month left to go. So needed something that could pull all of our information out and push it to the new hosts and it needed to be done ASAP.

See more
Eduardo Fernandez
Software Engineer at Parrot Software, Inc. · | 8 upvotes · 71.6K views

Do you have a K8s cluster and you want to deploy some services to it? Gitlab Auto Devops is key to achieve this without breaking a sweat.

We deploy Go services to our K8S clusters with warp speed thanks to Gitlab and it's Auto Devops pipeline.

I haven't seen tooling like this in any other git cloud provider.

See more
Phillip Manwaring
Developer at Coach Align · | 16 upvotes · 97.1K views

Both of us are far more familiar with GitHub than Gitlab, and so for our first big project together decided to go with what we know here instead of figuring out something new (there are so many new things we need to figure out, might as well reduce the number of optionally new things, lol). We aren't currently taking advantage of GitHub Actions or very many other built-in features (besides Dependabot) but luckily it integrates very well with the other services we're using.

See more
Elmar Wouters
CEO, Managing Director at Wouters Media · | 7 upvotes · 196.9K views

I first used BitBucket because it had private repo's, and it didn't disappoint me. Also with the smooth integration of Jira, the decision to use BitBucket as a full application maintenance service was as easy as 1, 2, 3.

I honestly love BitBucket, by the looks, by the UI, and the smooth integration with Tower.

See more
Weverton Timoteo

Do you review your Pull/Merge Request before assigning Reviewers?

If you work in a team opening a Pull Request (or Merge Request) looks appropriate. However, have you ever thought about opening a Pull/Merge Request when working by yourself? Here's a checklist of things you can review in your own:

  • Pick the correct target branch
  • Make Drafts explicit
  • Name things properly
  • Ask help for tools
  • Remove the noise
  • Fetch necessary data
  • Understand Mergeability
  • Pass the message
  • Add screenshots
  • Be found in the future
  • Comment inline in your changes

Read the blog post for more detailed explanation for each item :D

What else do you review before asking for code review?

See more
Weverton Timoteo

Using an inclusive language is crucial for fostering a diverse culture. Git has changed the naming conventions to be more language-inclusive, and so you should change. Our development tools, like GitHub and GitLab, already supports the change.

SourceLevel deals very nicely with repositories that changed the master branch to a more appropriate word. Besides, you can use the grep linter the look for exclusive terms contained in the source code.

As the inclusive language gap may happen in other aspects of our lives, have you already thought about them?

See more
Weverton Timoteo

One of the magic tricks git performs is the ability to rewrite log history. You can do it in many ways, but git rebase -i is the one I most use. With this command, It’s possible to switch commits order, remove a commit, squash two or more commits, or edit, for instance.

It’s particularly useful to run it before opening a pull request. It allows developers to “clean up” the mess and organize commits before submitting to review. If you follow the practice 3 and 4, then the list of commits should look very similar to a task list. It should reveal the rationale you had, telling the story of how you end up with that final code.

See more
Kamaleshwar BN
Head of Engineering at Dibiz Pte. Ltd. · | 8 upvotes · 338.4K views

Out of most of the VCS solutions out there, we found Gitlab was the most feature complete with a free community edition. Their DevSecops offering is also a very robust solution. Gitlab CI/CD was quite easy to setup and the direct integration with your VCS + CI/CD is also a bonus. Out of the box integration with major cloud providers, alerting through instant messages etc. are all extremely convenient. We push our CI/CD updates to MS Teams.

See more

Gitlab as A LOT of features that GitHub and Azure DevOps are missing. Even if both GH and Azure are backed by Microsoft, GitLab being open source has a faster upgrade rate and the hosted by gitlab.com solution seems more appealing than anything else! Quick win: the UI is way better and the Pipeline is way easier to setup on GitLab!

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of GitHub
Pros of GitLab
Pros of Gogs
  • 1.8K
    Open source friendly
  • 1.5K
    Easy source control
  • 1.2K
    Nice UI
  • 1.1K
    Great for team collaboration
  • 861
    Easy setup
  • 501
    Issue tracker
  • 484
    Great community
  • 480
    Remote team collaboration
  • 448
    Great way to share
  • 441
    Pull request and features planning
  • 144
    Just works
  • 130
    Integrated in many tools
  • 116
    Free Public Repos
  • 110
    Github Gists
  • 108
    Github pages
  • 81
    Easy to find repos
  • 60
    Open source
  • 58
    Easy to find projects
  • 56
    Network effect
  • 55
    It's free
  • 47
    Extensive API
  • 42
    Organizations
  • 41
    Branching
  • 33
    Developer Profiles
  • 32
    Git Powered Wikis
  • 29
    Great for collaboration
  • 23
    It's fun
  • 22
    Community SDK involvement
  • 21
    Clean interface and good integrations
  • 19
    Learn from others source code
  • 14
    It integrates directly with Azure
  • 14
    Because: Git
  • 13
    Wide acceptance
  • 10
    Large community
  • 9
    Newsfeed
  • 9
    Standard in Open Source collab
  • 8
    It integrates directly with Hipchat
  • 7
    Beautiful user experience
  • 7
    Fast
  • 6
    Easy to discover new code libraries
  • 6
    Cloud SCM
  • 5
    Graphs
  • 5
    Smooth integration
  • 5
    Nice API
  • 5
    Integrations
  • 5
    It's awesome
  • 4
    Remarkable uptime
  • 4
    Hands down best online Git service available
  • 4
    Reliable
  • 3
    Easy to use and collaborate with others
  • 3
    CI Integration
  • 3
    Free HTML hosting
  • 3
    Loved by developers
  • 3
    Quick Onboarding
  • 3
    Security options
  • 3
    Simple but powerful
  • 3
    Uses GIT
  • 3
    Unlimited Public Repos at no cost
  • 3
    Version Control
  • 2
    Nice to use
  • 1
    Free private repos
  • 1
    Easy deployment via SSH
  • 1
    Beautiful
  • 1
    Owned by micrcosoft
  • 1
    Free HTML hostings
  • 1
    Self Hosted
  • 1
    All in one development service
  • 1
    Easy to use
  • 1
    Good tools support
  • 1
    Easy source control and everything is backed up
  • 1
    Leads the copycats
  • 1
    Never dethroned
  • 1
    Ci
  • 1
    Issues tracker
  • 1
    Easy and efficient maintainance of the projects
  • 1
    IAM
  • 1
    IAM integration
  • 0
    Profound
  • 0
    1
  • 491
    Self hosted
  • 420
    Free
  • 334
    Has community edition
  • 238
    Easy setup
  • 238
    Familiar interface
  • 131
    Includes many features, including ci
  • 107
    Nice UI
  • 81
    Good integration with gitlabci
  • 53
    Simple setup
  • 33
    Has an official mobile app
  • 31
    Free private repository
  • 26
    Continuous Integration
  • 19
    Open source, great ui (like github)
  • 15
    Slack Integration
  • 11
    Full CI flow
  • 9
    Free and unlimited private git repos
  • 8
    User, group, and project access management is simple
  • 7
    Built-in CI
  • 7
    All in one (Git, CI, Agile..)
  • 7
    Intuitive UI
  • 4
    Both public and private Repositories
  • 3
    Mattermost Chat client
  • 3
    Issue system
  • 3
    Integrated Docker Registry
  • 2
    I like the its runners and executors feature
  • 2
    Unlimited free repos & collaborators
  • 2
    One-click install through DigitalOcean
  • 2
    It's powerful source code management tool
  • 2
    CI
  • 2
    Free private repos
  • 2
    Excellent
  • 2
    Build/pipeline definition alongside code
  • 2
    On-premises
  • 2
    Security and Stable
  • 2
    So easy to use
  • 2
    Great for team collaboration
  • 2
    Low maintenance cost due omnibus-deployment
  • 2
    It's fully integrated
  • 1
    Many private repo
  • 1
    Published IP list for whitelisting (gl-infra#434)
  • 1
    Powerful Continuous Integration System
  • 1
    Kubernetes Integration
  • 1
    Kubernetes integration with GitLab CI
  • 1
    Review Apps feature
  • 1
    Built-in Docker Registry
  • 1
    The dashboard with deployed environments
  • 1
    Multilingual interface
  • 1
    Native CI
  • 1
    HipChat intergration
  • 1
    It includes everything I need, all packaged with docker
  • 1
    Powerful software planning and maintaining tools
  • 1
    Groups of groups
  • 1
    Dockerized
  • 1
    Beautiful
  • 1
    Wounderful
  • 1
    Opensource
  • 1
    Because is the best remote host for git repositories
  • 1
    Not Microsoft Owned
  • 1
    Full DevOps suite with Git
  • 0
    Supports Radius/Ldap & Browser Code Edits
  • 36
    Self-hosted github like service
  • 31
    Very low memory footprint
  • 29
    Easy to install / update
  • 17
    Lightweight (low minimal req.) runs on Raspberry pi
  • 16
    Single binary deploy no dependencies
  • 14
    Open source
  • 12
    Cross platform (MacOS, Windows, Linux ...)
  • 11
    Wiki
  • 10
    Issue tracker
  • 3
    LDAP Support
  • 3
    Great UI

Sign up to add or upvote prosMake informed product decisions

Cons of GitHub
Cons of GitLab
Cons of Gogs
  • 46
    Owned by micrcosoft
  • 36
    Expensive for lone developers that want private repos
  • 15
    Relatively slow product/feature release cadence
  • 10
    API scoping could be better
  • 8
    Only 3 collaborators for private repos
  • 3
    Limited featureset for issue management
  • 2
    GitHub Packages does not support SNAPSHOT versions
  • 1
    Have to use a token for the package registry
  • 1
    No multilingual interface
  • 1
    Takes a long time to commit
  • 27
    Slow ui performance
  • 7
    Introduce breaking bugs every release
  • 5
    Insecure (no published IP list for whitelisting)
  • 1
    Built-in Docker Registry
  • 0
    Review Apps feature
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is GitHub?

    GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.

    What is GitLab?

    GitLab offers git repository management, code reviews, issue tracking, activity feeds and wikis. Enterprises install GitLab on-premise and connect it with LDAP and Active Directory servers for secure authentication and authorization. A single GitLab server can handle more than 25,000 users but it is also possible to create a high availability setup with multiple active servers.

    What is Gogs?

    The goal of this project is to make the easiest, fastest and most painless way to set up a self-hosted Git service. With Go, this can be done in independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, and Windows.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use GitHub?
    What companies use GitLab?
    What companies use Gogs?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with GitHub?
    What tools integrate with GitLab?
    What tools integrate with Gogs?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    Dec 8 2020 at 5:50PM

    DigitalOcean

    GitHubMySQLMongoDB+11
    2
    1863
    GitHubOptimizelySegment+3
    2
    1018
    Mar 18 2020 at 9:12AM

    LaunchDarkly

    GitHubLaunchDarkly+2
    6
    951
    JavaScriptGitHubReact+12
    5
    3532
    What are some alternatives to GitHub, GitLab, and Gogs?
    Bitbucket
    Bitbucket gives teams one place to plan projects, collaborate on code, test and deploy, all with free private Git repositories. Teams choose Bitbucket because it has a superior Jira integration, built-in CI/CD, & is free for up to 5 users.
    AWS CodeCommit
    CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure. You can use CodeCommit to securely store anything from source code to binaries, and it works seamlessly with your existing Git tools.
    Git
    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
    SVN (Subversion)
    Subversion exists to be universally recognized and adopted as an open-source, centralized version control system characterized by its reliability as a safe haven for valuable data; the simplicity of its model and usage; and its ability to support the needs of a wide variety of users and projects, from individuals to large-scale enterprise operations.
    Azure DevOps
    Azure DevOps provides unlimited private Git hosting, cloud build for continuous integration, agile planning, and release management for continuous delivery to the cloud and on-premises. Includes broad IDE support.
    See all alternatives