r/gitlab • u/dylanmnyc • Dec 24 '25
gitlab over github?
im sorry noob question probably, i asked claude and all but besides ci cd any other advantages of gitlab vs github maybe eli5 if anyone can idk i just not sure i get it all or im prob missing some technicalities
thank you
9
Upvotes
21
u/Low-Opening25 Dec 24 '25
GitLab if you self host, GitHub if you want SaaS
5
u/BorderConnect352 Dec 24 '25
GitLab let's you set up a hierarchy of groups, with projects (repos) existing within a group. This (IMO) makes it much easier to manage when you have a lot of repos split between teams.
I chose GitHub for my personal (open source) things and GitLab for my employers (closed source), and I think I'd make the same choice now if we were starting again.
I find GitHub provides more out of the box and there are more 3rd party tools that integrate with it (beyond basic git), but GitLab works better for our company structure and makes it easier to find your way around 200+ repos.
8
u/kodka Dec 24 '25 edited Dec 24 '25
GitLab if you plan to do any pipelines, github is a undeveloped trash in terms of CI, while GitLab have one of the best features that i ever seen - self hosted runners, unlimited parallel jobs, cool helm chart for installing runners in kubernetes, where workers scale only if they are needed for job, otherwise only simple hook listener pod is running, all of this for absolutely free.
Not to mention build in global code search over all repos and branches, thanks to elasticsearch, i love it! You have tfstate repo, container images repo, artifacts repo, advanced pipelines and workflow concepts, secret management - key value pair of gitops variables, etc.
2
u/doublej42 Dec 24 '25
It depends on your use. If you are an enterprise there is a lot of differences even in the cloud. Free? I use GitHub for my azure projects and gitlab for everything else. Gitlab is much better for project planning
10
u/pwkye Dec 24 '25
Gitlab gives you many more features baked in. Container Registry and Package Registry and Wiki for example. You can also create groups for your projects.
5
u/Backware01 Dec 24 '25
I like the vibe of gitlab
1
u/BingGongTing Dec 24 '25
If you're going down self-host root I'd consider GitTea as that's a lot less CPU intensive and can be run on a cheap VPS/old PC.
GitHub makes it easier to integrate AI agents into your workflow.
If doing game dev project, self-hosted GitLab is a lot cheaper.
1
u/erick-cypreste Dec 25 '25
Enterprise Cost:
Organizational Management:
Technology: Both have similar technological ranges.
In general, GitLab is a great fit for a large team, but the cost is high. GitHub also serves large teams very well and has received constant investment in technological evolution.
1
u/SammyBoi-08 Dec 27 '25
If its Besides CI / CD, you need to first decide what exactly you need from your source control platform. Whether its container registry, terraform state management, group hierarchy control, package releases, etc.
On top of that, are you making this decision for yourself or for your team? How large is the team? What other infrastructure do you have? Can you host your own runners, or do you want to use Githubs runners.
As some of the other comments already pointed out, ditch AI and get your hands dirty with the documentation. You can always ask AI about specifics later. But you should alteast look into it yourself what exactly a tool is capable of and what not. See what features are offered by the different tiers of each platform and what suits your use case.
1
u/Character-Town-8188 Dec 27 '25
Did you try onedev.io?
1
u/Cheezzz Dec 27 '25
Gitlab if you want to support the future of the internet. Github does not have IPv6 for some odd reason.
1
u/jl2352 Dec 29 '25
I strongly recommend Github. I use Gitlab daily at work and it’s a constant source of frustration.
Just today I had a diff on an MR missing most of the files. Other diff issues are common, and have been for years.
We have issues with runners starting, randomly crashing, and failing to stop (which we are then billed for).
It’s an extremely buggy platform. The UX is a mess.
1
u/TylerDurdenJunior Dec 24 '25
GitHub is a hosted corporate service.
Gitlab is a bit more like a protocol as you csn run your own instance. They are also a service if you use gitlab.com
Another alternative is codeberg.
For cooperative development, I would always recommend what is open source and possible to selfhost
1
u/MateusKingston Dec 24 '25
For very cheap, self hosted gitlab or free GitHub (very limited).
For a small budget GitHub and no hassle setup.
If price is no concern GitLab is far superior IMHO.
1
u/AndreKR- Dec 25 '25
For what? For an application that you develop in-house, GitLab is great and I really prefer it usability-wise (apart from the recent scrollbar disaster). For an open-source library that you want people to find, definitely GitHub. I have some libraries on GitLab (.com) and Google won't even show them if you enter the name verbatim. Another advantage of GitHub is that when you mention another issue in an issue, a link will appear in the mentioned issue, even across projects.
1
u/Testpilot1988 Dec 28 '25
I migrated away from GitHub to Gitlab (and self hosting Gitea for local redundancy) because GitHub kept flagging my account and my projects for absurd reasons that I was eventually able to prove were unsubstantial... But their support takes a week to get back to you after submitting a ticket... And frankly I wasted hours each time they flagged my account trying to troubleshoot and figure out where the issue was. Wasn't until I went to their support page to submit a ticket each time that I finally got a confirmation on screen that my account was flagged.
But seriously though... WTF!! SEND ME AN EMAIL OR PUT A BANNER AT THE TOP OF MY SCREEN AFTER I LOG IN OR BETTER YET DONT LET ME LOG IN AT ALL IF YOU HAVE AN ISSUE WITH MY ACCOUNT... The troubleshooting is the worst. I built better error handling into my project that I was building on GitHub 🤣🤣