Doubts about installing Git and GitLab

August 2, 2014 1.4k views

Hi! I have currently a droplet with Ubuntu 14 and WordPress installed. I started to develop more and more themes that I need to version control.

My doubts are, the git repository have to be on the same server that my wordpress install? or I have to create a new droplet?
If a create a new droplet, I can do one-click install of GitLab, but GitLab include Git or I have to install it?

Thanks in advance.


1 Answer
  1. No, the git repository would technically reside within your Gitlab build, on another server. You would have an instance of the repository on your wordpress server, but the versioning would be done by the Gitlab instance.
  2. The Gitlab image ships with everything you need, including git. But you'll need to install git on your wordpress server, if it isn't already. See this tutorial on how to get git up and running on your wordpress server.

by Justin Ellingwood
Git is a powerful distributed version control system that can be used to track software development projects and other information. In this guide, we'll demonstrate a few different ways to install git on an Ubuntu 14.04 server and how to get started.
Have another answer? Share your knowledge.