Difference between Github, Gitlab, Forgejo ?
-
Windows people don't even know what git is, let alone version control.
-
Don't use github/gitlab for small private repositories! use codeberg.org if you are not a developer. If you are in need for a big more jazz and looking at self-hosting go for forgejo.
-
IIRC it's just a clone of Gitea. Default interface is Chinese. Why would a non chinese person go there when Codeberg and Forgejo is available in English?
-
GitHub is a company owned by Microsoft. They allow you to host git repositories there (a git forge) and they use your code to train their AI.
GitLab is another git forge, you can also host your code there. I think it was also bought off.
Forgejo is git forge software. If you want to use a git forge that relies on Forgejo, checkout CodeBerg.
<rant>
All of these tend to offer not only a git forge but also other crap like tickets and CI/CD in what i personally see as feature creep.</rant>
-
Just adding that GitLab self-host is an absolute nightmare, if anything goes wrong you are done. They include database in their 'package', so you have limited options.
Also GitHub is usually used to distribute dependencies, so if your package gets downloaded 1M+ times, you don't have to pay for the traffic.
-
Uses sqlite as repo backend
And it's used by the SQLite project.
-
This answer is probably the best here. It's concise and answers your questions in a reasonably unbiased way.
A lot of the other answers are dripping with personal bias and a few verging on conspiracy.
-
Didnβt realize it was a clone
-
private
Just make sure to read their FAQ
-
new New Updated Latest_final(3)(6).pdf
-
Found upgrades mildly annoying with GitLab, bug reason I moved to Forgejo for my personal stuff. Far easier to setup and maintain for me, seems to be happy with caddy and runners are really easy to setup.
I'm not hosting for an entire org though, it's just me and I keep all my selfhost stuff local only, so obviously YMMV.
-
If you are a developer then no difference if you're a scrum master then you need to gtfo
-
Pretty sure codeberg.org uses forgejo under the hood.
Another very solid option for self hosting is just adding a git user to a server with git installed, initiate bare repositories there, then talk to them with [email protected]:repo-name
-
Alternative experience here: I have managed 7 GitLab installs for the past 12 years, two of these having ~300 users and ~1000 repositories, and I update monthly on average. I have only had one update break in all that time, and it was because of starting another upgrade step without waiting for all of the background migrations to complete. GitLab support got us sorted out within a couple of hours. A great experience overall.
There is a complexity floor, however. I use GitLab personally because of its CI/CD implementation. Upgrading it requires some care because it's a large and complex project. You have to read the errata and use the upgrade planner.
For small installations with a few users, and if there is no CI/CD preference, Forejo is probably the better choice for maintenance simplicity.
-
Can Forgejo do ci/cd pipelines by chance?
-
Yes, but haven't tried yet
-
Gitlab pipelines are super nice to use and integrate nicely with merge requests.
I like the Github UI, clean and simple, but down like what comes along with itβ¦
Interested in self hosting forejo but Iβm mostly coding at work these days.
-
Yes.
-
In the same order you asked:
Safe, easy to use, polished and reliable ; Someone else tried to emulate the first one success ; Poorly executed open-source alternative you can selfhost.
All of them speak the git and are essentially web UIs made to manage it and the creation of repositories and setting up permissions.
-
Git is the underlying code management and version control system. It can be used directly, and also forms the backend to a number of other systems.
Code "forges" are platforms which integrate a version control system (like git), a code repository (a file server), and front end utilities.
Some git forges are open source, others are proprietary. Certainly with the open source ones, but also with the proprietary ones in some cases, you can either self-host or use a hosted service.
GitHub is a proprietary forge, X GitHub.com is the company's fully hosted service. They're now owned by Microsoft.
Gitlab is an open source forge. Gitlab.com offers a hosted service, but many projects self-host.
Forgejo is a fork of Gitea which is a fork of Gogs. These are all also open source. As far as I know, neither Forgejo nor Gogs offer a hosted version, but Gitea does.
A few other notable forges include GNU Savannah (open source), Bitbucket (proprietary), Sourceforge (proprietary), Launchpad (open source), Allura (open source).
At the end of the day, they all do the same thing. They have different feature lists (especially around some of the project management and user interaction side), different user interfaces (some are shinier and more modern, others more minimalist), and different communities and support models. You choose that one that works best for your needs.
GitHub is probably the most feature-rich (and/or bloated) of them. GitLab is competing in the same space, and self-hosted GitLab seems to be something of a sweet spot for many projects that want a premium experience without needing to use a proprietary Microsoft product. I don't have much experience with Forgejo or Gitea. The rest tend to exist in their niches.