11 Oct

2013

GIT Version Control Now Available!

The SG-GIT Interface

One of my favourite SiteGround projects that kept some of us quite busy recently is now successfully rolled out! I am very happy to tell you that we have integrated Git in our hosting service. It is the newest addition to the multiple state-of-the-art tools (like WordPress/Joomla Staging tool, WP-CLI, Drush CLI for Drupal sites, etc.) that we have created to make your website management easier. Staying true to our craftsmanship approach, we have developed our custom Git cPanel plugin which fully supports the most popular web applications – WordPress, Joomla!, Magento, PrestaShop and Drupal.

How is SG-Git Different?

The SG-GIT Interface

  • Easy Interface in the cPanel

    Many web hosts offer Git but what is unique in SiteGround GIT integration is the cPanel SG-Git plugin we have developed. We know that Git is the most popular version control system and many people would like to use it to edit their sites. Thus, we automated the process and now you can create, destroy and manage your Git repositories directly from your cPanel with a single click of a button. There is no need to contact our support team in order to create new repositories or add new SSH keys to allow new members of your dev team to access the site.

  • Optimized for the most popular applications

    In addition, the SG-Git interface automatically detects your WordPress, Joomla!, Magento, PrestaShop and Drupal apps and creates custom Git environments. The repositories you create through the tool are optimized and temporary app-specific files are not included. This way we ensure that you can focus on developing your site instead of wasting time to setup your custom Git exclude file lists.

    Of course, we are aware that some developers have custom requirements and a unified cPanel Git system cannot be used for all kinds of projects. That is why the git binary is also accessible via SSH and advanced users can create their own repositories without using the cPanel tool.

How to Get Started?

If you are an experienced Git user you probably won’t use the SG-Git interface at all, because you already have full access to the Git commands. For the rest of you, open your cPanel and go to the Git tool. Then use the “Create Git Repository” button to setup your Git development environment. After that … actually that’s it – the Git tool will take care of the rest and show you only the info that you need to clone the repository on your local computers.

We also created a detailed SG-Git tutorial!

Right now, the SiteGround Git tool is available on our GoGeek, Cloud and Dedicated Servers with Geeky features setup. The tool supports WordPress, Joomla!, Magento, PrestaShop and Drupal websites, but we plan to add support for other popular web applications as well. Feel free to test it and share your opinion in the comments below, we will be glad to hear what you think.

Author: Daniel Kanchev

Senior Web Apps Engineer and Performance Specialist

My challenging job is closely related to all kinds of Free and Open-Source Software products (some of my favorites are WordPress, Joomla!, Magento, Varnish and Apache mod_security). As a Web security and performance freak I am always hyper focused on solving all kinds of issues and improving our services.

Comments (3):

  1. […] Another feature of the SiteGround hosting service for WordPress that helps it stand out from its competitors is their SG-GIT system. […]

  2. gene says:

    This is a great start, but should be rolled out to all applications, not just basic ones like joomla and wordpress. Why not let real developers sync their git repos directly to siteground?

  3. Daniel Kanchev says:

    Hey gene! The git command is available via SSH and the path to the command is:

    /usr/bin/git

    Unfortunately, the ssh binary is not present in our Chroot isolated environment and that is why you cannot clone repos via the SSH protocol. We will most probably add the ssh binary very soon. Until then you can clone your remote repositories using the HTTP protocol. Please check this link for more information how to do this:

    http://git-scm.com/book/ch4-1.html