Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm getting confused about how to have a Git Server in my own machine.

I need to setup a central server with all Git repos, like Subversion. What is my best option?

Install Gitosis?

share|improve this question

Well that actually depends on a couple of factors..

if it is a multiuser environment on which you DON'T necessarily want all people that have GIT repos to also have SHELL access, then i would recommend Gitolite. (Gitosis is almost as good as dead now).

much like gitosis, Gitolite allows for multiuser envs with many repos and easy user and privilege management by using ssh keys, without the need for the users to have shell access to the server.

share|improve this answer

If you would like a Github-like experience inside your environment, but don't want to pay for Github, Gitlab is pretty reasonable.

LDAP-Auth, RBAC, Config-Management options available (Chef, at least), Pull-request workflow ("Merge Requests" for them...) all make this a viable option.

Additionally, it's an Open-Source project with a company behind it.

A downside is that it trails GitHub in features. This means that if you're excited by something new that GitHub has done, you're going to have to wait for it, or contribute some work yourself.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.