GitHub is a popular website\/service that helps developers manage their code. Beyond serving as a repository to store code, GitHub also makes it easy for developers to monitor and control changes to all or some of their code (this is known as <strong>version control<\/strong>).\r\n\r\nIn order to understand what GitHub is, that term - version control - is essential. We'll dig into that first, and then we'll explain the "Git" part of GitHub as well.\r\n<h2>What Is Version Control And Why Is It Important?<\/h2>\r\nAt a very high level, version control helps you track and manage changes to "something". We say something because, while GitHub focuses on software\/code, you'll find version control systems for other types of knowledge as well, like documents or generic collections of information. <em>We'll focus exclusively on software in this article, though<\/em>.\r\n\r\nSo why is version control essential?\r\n\r\nThink about it - if you have multiple people working on changes to a large code base, it's important to be able to track what those changes are to monitor the integrity of the information, as well as revert back to a previous version if needed.\r\n\r\nAdditionally, version control lets developers safely work on just a specific part of the overall code base using two concepts called <strong>branching<\/strong> and <strong>merging<\/strong>.\r\n<h3>What Is Branching And Merging In Version Control?<\/h3>\r\n<strong>Branching <\/strong>lets a developer duplicate a specific part of the larger code base. Then, the developer can safely work on that "branch" without making any changes to the original source code.\r\n\r\nOnce the developer finishes making and testing those changes, the developer can request to <strong>merge<\/strong> the code back into the main source code.\r\n\r\nAfter the merge request is approved, the code is live.\r\n\r\nAdditionally, if there are issues in the future, it's easy to revert back to the original code before that merge request was approved.\r\n<h2>Git Is One Specific Type Of Version Control<\/h2>\r\nGit is <strong>one specific version control system<\/strong>. It's an open-source project developed by Linus Torvalds back in the mid-2000s. It's by far the dominant version control player, with the vast majority of developers choosing to use Git (<a href="https:\/\/insights.stackoverflow.com\/survey\/2018\/#work-version-control" target="_blank" rel="noopener noreferrer">~87% according to Stack Overflow<\/a>).\r\n\r\nAs the name suggests, <strong>Git<\/strong>Hub uses Git, as well.\r\n\r\nGit is what's known as <strong>distributed version control<\/strong>, which means that the entire codebase is mirrored on every single developer's local computer (rather than just a single part of the code base).\r\n\r\nThe benefit of this distributed approach is productivity - it speeds up many operations and also allows for easier branching and merging.\r\n<h2>What Is GitHub, Then?<img class="aligncenter size-large wp-image-624" src="https:\/\/pagely.com\/kb\/wp-content\/uploads\/2018\/10\/what-is-github-1-1024x617.png" alt="GitHub homepage" width="643" height="387" \/><\/h2>\r\nSo what is GitHub?\r\n\r\nWhile Git is open-source, GitHub is a for-profit service that makes it easy for individuals and companies to use Git.\r\n\r\nYou can kind of think of it like how WordPress.com is a for-profit implementation of the open-source WordPress software.\r\n\r\nGitHub makes using Git more convenient for developers, as well as more accessible to non-technical users because it offers a simple user interface, whereas using Git by itself requires using the command line.\r\n\r\nGitHub also offers free hosting for open-source projects and individuals, which has helped make it incredibly popular. Currently, GitHub has <a href="https:\/\/github.com\/search?q=type:user&type=Users" target="_blank" rel="noopener noreferrer">over 28 million users<\/a>.\r\n\r\nWhile anyone can use GitHub for free, GitHub monetizes its service by selling plans that offer more security and functionality to businesses. Major institutions - like Facebook and PayPal - use GitHub.\r\n\r\nIn mid-2018, <a href="https:\/\/venturebeat.com\/2018\/06\/04\/microsoft-confirms-it-will-acquire-github-for-7-5-billion\/" target="_blank" rel="noopener noreferrer">Microsoft struck a deal<\/a> to acquire GitHub for $7.5 billion, and the deal is expected to close by the end of 2018.\r\n<h3>How To Start Using GitHub<\/h3>\r\nIf you'd like to try GitHub, you can sign up for a free account. Then, <a href="https:\/\/guides.github.com\/activities\/hello-world\/" target="_blank" rel="noopener noreferrer">the Hello World guide<\/a> will get you acquainted with most basic functionality, like creating a new repository or merging a pull request.\r\n\r\n<img class="aligncenter size-full wp-image-625" src="https:\/\/pagely.com\/kb\/wp-content\/uploads\/2018\/10\/what-is-github-2.png" alt="What is GitHub interface like?" width="1017" height="671" \/>\r\n<h2>Can You Use GitHub With Pagely Managed WordPress Hosting?<\/h2>\r\n<strong>Yes!\u00a0<\/strong><a href="https:\/\/pagely.com\/kb\/kb\/support-github-deployment-api\/">Pagely supports the GitHub Deployment API<\/a>, which lets you deploy code from GitHub to your Pagely hosting account.\r\n\r\nWe also have several <a href="https:\/\/support.pagely.com\/hc\/en-us\/sections\/114094016292-Version-control-with-git">documentation articles to help you use Git with Pagely<\/a>.\r\n<h2>Are There Other Ways That WordPress Users Can Benefit From GitHub?<\/h2>\r\nThere are a few other ways that GitHub or Git connect to WordPress.\r\n<h3>VersionPress Merges Git And WordPress<\/h3>\r\nFirst, <a href="https:\/\/versionpress.net\/" target="_blank" rel="noopener noreferrer">VersionPress<\/a> is a project that brings Git version control to WordPress. It adds version control to both your WordPress site's files and database, which lets you automatically track changes and roll them back if needed.\r\n\r\nCoincidentally, you can find the VersionPress source code <a href="https:\/\/github.com\/versionpress\/versionpress\/releases" target="_blank" rel="noopener noreferrer">at...GitHub<\/a>.\r\n<h3>You Can Find Theme And Plugin Source Code At GitHub<\/h3>\r\nSecond, many WordPress developers host the source code for their open-source plugins and themes on GitHub.\r\n\r\nFor example, you can find the code for <a href="https:\/\/github.com\/woocommerce\/woocommerce" target="_blank" rel="noopener noreferrer">the WooCommerce plugin<\/a> or the popular <a href="https:\/\/github.com\/tomusborne\/generatepress" target="_blank" rel="noopener noreferrer">GeneratePress theme<\/a> at GitHub.\r\n\r\nIf you're technically savvy, you can contribute to these projects. Or, you can also deploy WordPress themes and plugins directly from GitHub via the premium <a href="https:\/\/wppusher.com\/" target="_blank" rel="noopener noreferrer">WP Pusher plugin<\/a>.