Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How is Gitlab different compared to Github?

Tags:

github

gitlab

I'm trying to understand the pros and cons of the two from experienced developer's point of view. Of course Github is the more widely used of the two, but if someone could explain in general terms what they find better/lacking in either, that would be great.

(I use Github at the moment, by the way).

like image 735
omrakhur Avatar asked May 25 '16 14:05

omrakhur


People also ask

What is the difference between GitLab and GitHub?

GitHub is more user-friendly as it does not require familiarity with Linux shell. On the other hand, GitHub's Save Changes takes a very long time, about 10 min, while GitLab's reconfigure is stored as-code and takes about a minute. GitLab backup is a command-line utility, which runs on the same Linux server as GitLab.

Should I use GitLab or GitHub?

For self-hosted private repositories, GitLab is the better choice. You can get started without having to pay any monthly subscription fee. Both options are great for open source projects, with GitLab offering premium features for free and GitHub offering access to a larger pool of active open source developers.

What is the main difference between Git and GitHub?

While Git is a tool that's used to manage multiple versions of source code edits that are then transferred to files in a Git repository, GitHub serves as a location for uploading copies of a Git repository. In a sense, then, there's no comparison when it comes to Git vs. GitHub as far as their function.


2 Answers

Gitlab is a self-hosted git server. I have used both (plus bitbucket) and I don't see much difference in terms of functionality. Github's UI is far more advanced, and they offer some custom features (e.g. Releases).

like image 112
hypeJunction Avatar answered Sep 24 '22 15:09

hypeJunction


At Github , by default, you do not have any private repos ( ones only you and your team can access ). with Gitlab you have unlimited of them.

Edit: as pointed out by Bahman.A in the comments, this is no longer true

like image 33
Raphl10 Avatar answered Sep 24 '22 15:09

Raphl10