{"id":58269,"date":"2020-11-28T14:41:00","date_gmt":"2020-11-28T20:41:00","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=58269"},"modified":"2020-11-28T14:41:00","modified_gmt":"2020-11-28T20:41:00","slug":"hosting-remote-git-repositories-with-cpanel","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/hosting-remote-git-repositories-with-cpanel\/","title":{"rendered":"Hosting Remote Git™ Repositories with cPanel"},"content":{"rendered":"\n
Version control systems are the foundation on which modern development workflows are built. They reduce the complexity of collaboration while empowering developers to track and control the evolution of source code. Git is the most widely used open-source version control system, and that\u2019s why cPanel & WHM makes it easy to host Git repositories and automatically deploy code from repositories to production. <\/p>\n\n\n\n
In this article, we introduce Git and show you how to create and use remote Git repositories hosted on your cPanel server. We\u2019ll also explain cPanel Git Version Control\u2019s<\/em> killer feature: automatic code deployment. <\/p>\n\n\n\n Git is a version control system created by Linus Torvalds, who is also the lead developer of the Linux kernel. Version control systems track changes in source code and help multiple developers to work efficiently on the same codebase. With Git, developers can manage their code, safely merge contributions from many sources, and revert code to an earlier version if something goes wrong. <\/p>\n\n\n\n A software project\u2019s Git repository is often hosted on an external server. Individual developers download a copy to their laptop or desktop computer, make changes, and then upload their new version to the server. As you can imagine, coordinating changes from many different developers is enormously complicated. Git aims to make that process, if not simple, then at least manageable. <\/p>\n\n\n\n Here are a few key terms to help you understand how Git works before we get to setting up a repository and managing code. <\/p>\n\n\n\nWhat is Git?<\/strong><\/h2>\n\n\n\n