Build a git server 1. ssh to the new server as root or sudo user 2. Create a user name called "git" sudo adduser \ --system \ --shell /bin/bash \ --gecos 'git version control' \ --group \ --disabled-password \ --home /home/git git 2. create a bin direcoty under /home/git mkdir bin 3. place the public key administrator under /home/git Note: This public key can be of any valid user, this will be used for initial configuration. Once we finished, gitolite would let us add all others public key for access management. Let us assume "maneesh" is administrator. 5. Install git using sude user or root sudo apt-get install git 4. clone the gitolite from github git clone https://github.com/sitaramc/gitolite.git 5. Install perl sudo apt-get install perl 6. switch to "git" user 7. create softlink between install and bin directory using below command gitolite/install -ln 8.Install the gitolite using below command /home/git/gitolite/src/gitolite setup -pk maneesh.pub If success, above command will give the output, Initialized empty Git repository in /home/git/repositories/gitolite-admin.git/ Initialized empty Git repository in /home/git/repositories/testing.git/ WARNING: /home/git/.ssh/authorized_keys missing; creating a new one 9. Switch to other machine which has access to new git server using user name "git" and the publick key "maneesh.pub" ie, the server which contains the private key of public key maneesh.pub 10. Do a git clone of gitolite-admin.git repository