{"id":38074,"date":"2022-11-14T08:28:54","date_gmt":"2022-11-14T16:28:54","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=38074"},"modified":"2025-05-21T17:21:14","modified_gmt":"2025-05-22T00:21:14","slug":"how-to-use-wp-with-github","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/","title":{"rendered":"How to Use GitHub for WordPress Development"},"content":{"rendered":"\n<p>If you\u2019ve spent much time reading up on WordPress, chances are you\u2019ve heard about <a href=\"https:\/\/github.com\/\" target=\"_blank\" rel=\"noopener\">GitHub<\/a>. It\u2019s one of the <a href=\"https:\/\/octoverse.github.com\/#lets-look-back-at-the-code-and-communities-built-on-git-hub-this-year\" target=\"_blank\" rel=\"noopener\">most popular platforms<\/a> for developers to host their projects and collaborate with others. Maybe you\u2019ve even considered trying it out yourself but don\u2019t know where to start.<\/p>\n\n\n\n<p>The time has come to familiarize yourself with this invaluable WordPress resource. GitHub is an excellent platform for tracking, managing, and collaborating on development projects, so it\u2019s well worth learning how to use. It enables you to host projects online and use <a href=\"https:\/\/git-scm.com\/\" target=\"_blank\" rel=\"noopener\">the powerful version control of Git<\/a> to keep track of every change.<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<h2 id=\"h-an-introduction-to-github\" class=\"wp-block-heading\"><b>An Introduction to GitHub<\/b><\/h2>\n\n\n\n<p><a href=\"https:\/\/github.com\/\" target=\"_blank\" rel=\"noopener\">GitHub<\/a> may look overwhelming if you\u2019re a newcomer, but at its core, it\u2019s actually pretty simple. In essence, GitHub is a free hosting service specifically designed for developers. Its primary use is to host projects for sharing and collaboration, making them available so that other users can contribute to and download them:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1876\" height=\"691\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-wordpress-repository.png\" alt=\"The Github WordPress repository\" class=\"wp-image-38088 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-wordpress-repository.png.webp 1876w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-wordpress-repository-300x111.png 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-wordpress-repository-1024x377.png 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-wordpress-repository-768x283.png 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-wordpress-repository-1536x566.png 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-wordpress-repository-600x221.png.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-wordpress-repository-750x276.png.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-wordpress-repository-100x37.png 100w\" data-sizes=\"(max-width: 1876px) 100vw, 1876px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1876px; --smush-placeholder-aspect-ratio: 1876\/691;\" \/><\/figure><\/div>\n\n\n<p>As the name implies, GitHub is built around <a href=\"https:\/\/git-scm.com\/\" target=\"_blank\" rel=\"noopener\">the functionality of Git<\/a>. This is a <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/115000677931\" target=\"_blank\" rel=\"noopener\">version control system<\/a> that tracks all changes made to a project. What makes this system so powerful is how comprehensive it is. Since Git keeps track of every file and change in your project, it enables you to revert quickly to any previous version.<\/p>\n\n\n\n<p>Git also lets developers create \u2018branches\u2019, which are copies of a project that you can work on independently. Creating branches gives you the opportunity to make and test changes without affecting the whole project. You can then \u2018merge\u2019 your changes into the main branch if you want or simply discard them.<\/p>\n\n\n\n<p>These features are key to understanding why Git and GitHub are so invaluable to developers. You don\u2019t have to worry about causing irreparable damage to a project, for example, since you can always create branches and roll back all revisions.<\/p>\n\n\n\n<p>Plus, it\u2019s easy to collaborate on a project with a potentially unlimited number of users. In fact, this is exactly <a href=\"https:\/\/github.com\/WordPress\/WordPress\" target=\"_blank\" rel=\"noopener\">how WordPress itself is developed<\/a> these days.<\/p>\n\n\n\n<h2 id=\"h-getting-started-with-github\" class=\"wp-block-heading\"><b>Getting Started with GitHub<\/b><\/h2>\n\n\n\n<p>Before you can start using GitHub, you\u2019ll need a system for using Git and GitHub together. First of all, you\u2019ll need to <a href=\"https:\/\/help.github.com\/articles\/set-up-git\/\" target=\"_blank\" rel=\"noopener\">download and install Git<\/a> on your local machine. You\u2019ll be using it to perform crucial GitHub related-tasks, such as transferring files between your computer and your GitHub repository.<\/p>\n\n\n\n<p>GitHub is only the host for the project, so all the actual development happens on your local machine. Git then uses \u2018repositories\u2019 to store each project.<\/p>\n\n\n\n<p>This might sound confusing, in theory, so let\u2019s look at a typical workflow:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You have a project hosted in a repository on GitHub.<\/li>\n\n\n\n<li>You create a local repository and use Git to \u2018pull\u2019 in the latest version of the project from GitHub.<\/li>\n\n\n\n<li>You can now work on the project on your local computer. When you have made changes, you can \u2018push\u2019 them back into the GitHub repository.<\/li>\n<\/ol>\n\n\n\n<p>How you decide to <a href=\"https:\/\/guides.github.com\/introduction\/flow\/\" target=\"_blank\" rel=\"noopener\">structure your specific workflow<\/a> depends on your preferences and the project\u2019s requirements. The important thing is that your process works smoothly for you, your project, and your collaborators.<\/p>\n\n\n\n<p>Finally, to get the most out of Git, you\u2019ll want to use the <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/214202238\" target=\"_blank\" rel=\"noopener\">command line<\/a>. Git is most commonly used <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/216041267\" target=\"_blank\" rel=\"noopener\">through Secure Shell (SSH)<\/a>, which features a command line interface. If you don\u2019t already know how to use the command line, we recommend that you <a href=\"https:\/\/www.codecademy.com\/learn\/learn-the-command-line\" target=\"_blank\" rel=\"noopener\">familiarize yourself with the process<\/a> before getting started.<\/p>\n\n\n\n<h2 id=\"h-how-to-use-github-for-wordpress-development-in-7-steps\" class=\"wp-block-heading\"><b>How to Use GitHub for WordPress Development (In 7 Steps)<\/b><\/h2>\n\n\n\n<p>Now, it\u2019s time for you to try out GitHub development for yourself! In this example, you\u2019ll be creating a GitHub project for developing a WordPress theme. We\u2019ll show you how to create a GitHub account and two repositories before showing you how to transfer your theme back and forth between them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-1-create-a-local-wordpress-environment\"><b>Step 1: Create a Local WordPress Environment<\/b><\/h3>\n\n\n\n<p>When you\u2019re developing WordPress, it\u2019s important to always <a href=\"https:\/\/www.dreamhost.com\/blog\/website-staging-beginners-guide\/\" target=\"_blank\" rel=\"noopener\">use a staging environment<\/a>. This gives you the freedom to try new things without worrying about how they will affect your live site.<\/p>\n\n\n\n<p>In this case, you\u2019re going to create a local staging environment by <a href=\"https:\/\/getflywheel.com\/layout\/local-wordpress-development-environment-how-to\/\" target=\"_blank\" rel=\"noopener\">installing WordPress on your computer<\/a>. You can do this in a few different ways, but we recommend using <a href=\"https:\/\/localwp.com\/\" target=\"_blank\" rel=\"noopener\">Local<\/a>, which enables you to quickly create a local version of WordPress for free:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1663\" height=\"736\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/local-wordpress-development-tool.png\" alt=\"The Local homepage\" class=\"wp-image-38089 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/local-wordpress-development-tool.png.webp 1663w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/local-wordpress-development-tool-300x133.png 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/local-wordpress-development-tool-1024x453.png 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/local-wordpress-development-tool-768x340.png 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/local-wordpress-development-tool-1536x680.png 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/local-wordpress-development-tool-600x266.png.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/local-wordpress-development-tool-750x332.png.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/local-wordpress-development-tool-100x44.png 100w\" data-sizes=\"(max-width: 1663px) 100vw, 1663px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1663px; --smush-placeholder-aspect-ratio: 1663\/736;\" \/><\/figure><\/div>\n\n\n<p>Simply select your platform and download the free version of Local. Then you\u2019ll just need to run the installer.<\/p>\n\n\n\n<p>The installer will take a moment to work. After it\u2019s completed, you can create and configure a new local WordPress site, following <a href=\"https:\/\/getflywheel.com\/layout\/local-wordpress-development-environment-how-to\/\" target=\"_blank\" rel=\"noopener\">the instructions in this guide<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-2-install-git-on-your-local-machine\"><b>Step 2: Install Git on Your Local Machine<\/b><\/h3>\n\n\n\n<p>It\u2019s now time to <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/227816388\" target=\"_blank\" rel=\"noopener\">install Git<\/a>. If you are running a recent version of Mac OS, you might find that Git is already on your machine. You can check this by opening your command line interface, such as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Terminal_(macOS)\" target=\"_blank\" rel=\"noopener\">Terminal<\/a>, and entering the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git --version<\/pre>\n\n\n\n<p>If Git is installed, this function will return its version number. If not, you will instead be asked if you want to install it right away. You can also <a href=\"https:\/\/git-scm.com\/book\/en\/v2\/Getting-Started-Installing-Git\" target=\"_blank\" rel=\"noopener\">download the installer<\/a> and run it manually for Mac, Linux, and Windows computers.<\/p>\n\n\n\n<p>If you\u2019re not comfortable with the command line interface, you might want to consider downloading a <a href=\"https:\/\/git-scm.com\/downloads\/guis\/\" target=\"_blank\" rel=\"noopener\">Git GUI application<\/a> instead. However, for this example, we\u2019re going to use the standard command line method. Either way, once Git is installed, you\u2019re ready to create a local repository.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-3-create-a-local-repository-for-your-project\"><b>Step 3: Create a Local Repository for Your Project<\/b><\/h3>\n\n\n\n<p>You can now create a local Git repository for your project. In this example, we\u2019ll use the <a href=\"http:\/\/wordpress.org\/themes\/twentytwentyone\/\" target=\"_blank\" rel=\"noopener\">Twenty Twenty-One theme<\/a>, which should already be included in your local WordPress installation.<\/p>\n\n\n\n<p>First, you\u2019ll need to access the theme\u2019s folder using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/Users\/you\/Documents\/Websites\/website\/wp-content\/themes\/twentytwentyone<\/pre>\n\n\n\n<p>Make sure to change this file path so that it leads to the right directory by replacing <i>you<\/i> and <i>website<\/i> with the correct folder names. You can now initialize this directory as a repository with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git init<\/pre>\n\n\n\n<p>Next, you\u2019ll need to <a href=\"https:\/\/git-scm.com\/docs\/git-add\" target=\"_blank\" rel=\"noopener\">add your files<\/a> to the index. This process tells Git which files you have added or edited since the last time you performed a commit (in other words, saved your changes).<\/p>\n\n\n\n<p>Since this is the first commit, you can use the following command to add every file in the folder:<\/p>\n\n\n\n<p>git add<\/p>\n\n\n\n<p>You can now commit your changes. The following command will <a href=\"https:\/\/git-scm.com\/docs\/git-commit\" target=\"_blank\" rel=\"noopener\">commit all files<\/a> in the index and include a message to help you keep your versions organized:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git commit -m \"The first commit\"<\/pre>\n\n\n\n<p>You have now finished configuring your local repository! That means it\u2019s time to turn your attention towards GitHub.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-4-register-a-github-account\"><b>Step 4: Register a GitHub Account<\/b><\/h3>\n\n\n\n<p>At this point, you\u2019ll want to create a GitHub account. Start by accessing the <a href=\"https:\/\/github.com\/\" target=\"_blank\" rel=\"noopener\">GitHub homepage<\/a> and filling in the registration form:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1867\" height=\"805\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-form.png\" alt=\"The signup form for Github\" class=\"wp-image-38085 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup-form.png.webp 1867w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-form-300x129.png 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-form-1024x442.png 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-form-768x331.png 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-form-1536x662.png 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup-form-600x259.png.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup-form-750x323.png.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-form-100x43.png 100w\" data-sizes=\"(max-width: 1867px) 100vw, 1867px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1867px; --smush-placeholder-aspect-ratio: 1867\/805;\" \/><\/figure><\/div>\n\n\n<p>The interactive signup form will prompt you to enter a password and username and confirm your email address. Then, you\u2019ll be asked to choose how many team members will be working with you and whether you\u2019re a student or a teacher:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1876\" height=\"819\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup.png\" alt=\"Signing up for GitHub\" class=\"wp-image-38087 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup.png.webp 1876w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-300x131.png 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-1024x447.png 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-768x335.png 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-1536x671.png 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup-600x262.png.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup-750x327.png.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-100x44.png 100w\" data-sizes=\"(max-width: 1876px) 100vw, 1876px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1876px; --smush-placeholder-aspect-ratio: 1876\/819;\" \/><\/figure><\/div>\n\n\n<p>After that, you\u2019ll be asked which features you\u2019re interested in using. We recommend selecting <i>Collaborative coding<\/i> at a minimum:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1879\" height=\"789\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-process.png\" alt=\"The GitHub signup process\" class=\"wp-image-38086 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup-process.png.webp 1879w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-process-300x126.png 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-process-1024x430.png 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-process-768x322.png 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-process-1536x645.png 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup-process-600x252.png.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-signup-process-750x315.png.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-signup-process-100x42.png 100w\" data-sizes=\"(max-width: 1879px) 100vw, 1879px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1879px; --smush-placeholder-aspect-ratio: 1879\/789;\" \/><\/figure><\/div>\n\n\n<p>Now you can choose the free plan by clicking on <i>Continue for free<\/i>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1603\" height=\"762\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-free-plan.png\" alt=\"Selecting the GitHub free plan\" class=\"wp-image-38082 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-free-plan.png.webp 1603w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-free-plan-300x143.png 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-free-plan-1024x487.png 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-free-plan-768x365.png 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-free-plan-1536x730.png 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-free-plan-600x285.png.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/github-free-plan-750x357.png.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/github-free-plan-100x48.png 100w\" data-sizes=\"(max-width: 1603px) 100vw, 1603px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1603px; --smush-placeholder-aspect-ratio: 1603\/762;\" \/><\/figure><\/div>\n\n\n<p>You\u2019ll then be taken directly to your GitHub dashboard. If you want to know more about the basics of using GitHub, we recommend taking some time to <a href=\"https:\/\/guides.github.com\/activities\/hello-world\/\" target=\"_blank\" rel=\"noopener\">read the aforementioned guide<\/a>. For now, however, we\u2019re going to create a repository.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-5-create-a-repository-on-github\"><b>Step 5: Create a Repository on GitHub<\/b><\/h3>\n\n\n\n<p>You\u2019re finally ready to create the GitHub repository for your project. This is a fairly simple process and only requires you to configure a few settings. Let\u2019s start from the top.<\/p>\n\n\n\n<p>To get started, click on <i>Create repository<\/i> in your dashboard:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1389\" height=\"666\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/creating-a-new-repository-with-github.png\" alt=\"Create a new repository with GitHub\" class=\"wp-image-38080 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/creating-a-new-repository-with-github.png.webp 1389w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/creating-a-new-repository-with-github-300x144.png 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/creating-a-new-repository-with-github-1024x491.png 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/creating-a-new-repository-with-github-768x368.png 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/creating-a-new-repository-with-github-600x288.png.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2022\/11\/creating-a-new-repository-with-github-750x360.png.webp 750w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/creating-a-new-repository-with-github-100x48.png 100w\" data-sizes=\"(max-width: 1389px) 100vw, 1389px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1389px; --smush-placeholder-aspect-ratio: 1389\/666;\" \/><\/figure><\/div>\n\n\n<p>First, you can select the repository\u2019s owner, which is effectively the admin for the repository. This should already be set to yourself, so you can leave it as-is:<\/p>\n\n\n\n<p>Next, you\u2019ll need to give your repository a descriptive and concise name. You may want to name it after the plugin, theme, or other project you\u2019ll be working on.<\/p>\n\n\n\n<p>After that, you can enter a description of the project. Again, this should be specific and descriptive so that other developers and users can understand what it is you\u2019re creating.<\/p>\n\n\n\n<p>Since you signed up for a free account, you will only be able to create a public repository (although that\u2019s all you\u2019ll need right now). You\u2019ll also be given the option to immediately clone the repository to your computer using a <i>README<\/i> file. Since you already have a local repository in place, you shouldn\u2019t select this option now. However, it can be a handy tool for future projects.<\/p>\n\n\n\n<p>Finally, you\u2019ll see two drop-down menus at the bottom of this screen. The first enables you to select a <a href=\"https:\/\/git-scm.com\/docs\/gitignore\" target=\"_blank\" rel=\"noopener\">gitignore option<\/a> if you want Git to ignore certain files from being tracked.<\/p>\n\n\n\n<p>The second option lets you <a href=\"https:\/\/choosealicense.com\/\" target=\"_blank\" rel=\"noopener\">choose a license<\/a> for your repository. When you\u2019re creating a real project, it\u2019s important that you carefully consider what license to use. WordPress has very specific <a href=\"https:\/\/wordpress.org\/about\/license\/\" target=\"_blank\" rel=\"noopener\">rules about licenses<\/a>, which you\u2019ll need to be aware of when developing for the platform.<\/p>\n\n\n\n<p>For now, you can simply choose <i>None<\/i> from that menu and then click on<i> Create repository<\/i> to finish setting things up:<\/p>\n\n\n\n<p>This will take you to your new project, which means it\u2019s time to add your theme.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-6-commit-your-project-to-github\"><b>Step 6: Commit Your Project to GitHub<\/b><\/h3>\n\n\n\n<p>You can now push your theme to GitHub. Enter the following command into Git, making sure to replace the URL with a link to the repository you just set up:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git remote add origin https:\/\/github.com\/yourusername\/my-git-theme.git\n\ngit push -u origin master<\/pre>\n\n\n\n<p>You will then be prompted to enter your GitHub username, followed by your password. When you have done that, all the files you have committed to your local repository will be pushed to your GitHub project:<\/p>\n\n\n\n<p>If you return to your GitHub repository, you will see that all files have been added to it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-7-fetch-updates-from-github-to-your-local-repository\"><b>Step 7: Fetch Updates from GitHub to Your Local Repository<\/b><\/h3>\n\n\n\n<p>You now have two repositories set up, and you know how to push changes from your local machine to the GitHub project. The final step is to flip this process and learn how to pull data from GitHub to your local installation.<\/p>\n\n\n\n<p>If you\u2019re working alone on a project, you\u2019ll rarely need to worry about doing this. However, it becomes necessary if other developers are pushing their changes into the external repository as well.<\/p>\n\n\n\n<p>You can do this easily by using <a href=\"https:\/\/help.github.com\/articles\/fetching-a-remote\/\" target=\"_blank\" rel=\"noopener\">the fetch command<\/a>. Simply enter this command into Git, replacing the URL with the correct one for your GitHub project:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git fetch https:\/\/github.com\/yourusername\/my-git-theme.git<\/pre>\n\n\n\n<p>This command will pull all changes from GitHub and copy them over. Your local repository will now be synced up with your GitHub repository.<\/p>\n\n\n\n<p>With that done, you have successfully created a new GitHub project for a WordPress theme! At this point, feel free to continue experimenting with these tools to see what you can accomplish.<\/p>\n\n\n\n<h2 id=\"h-get-started-with-wordpress-development-using-github\" class=\"wp-block-heading\"><b>Get Started With WordPress Development Using GitHub<\/b><\/h2>\n\n\n\n<p>Using <a href=\"https:\/\/github.com\/\" target=\"_blank\" rel=\"noopener\">GitHub<\/a> for WordPress development grants you absolute power over every aspect of your projects. By using <a href=\"https:\/\/git-scm.com\/\" target=\"_blank\" rel=\"noopener\">Git\u2019s powerful version control features<\/a>, you\u2019ll get access to each change, enabling you to easily revert to earlier versions of your files. Git and GitHub also make it easy for multiple developers to collaborate on the same project.<\/p>\n\n\n\n<p>To start using GitHub for WordPress development, you\u2019ll simply need to create a local WordPress environment, install Git, and sign up for GitHub. Then, you can create a local repository for your project and make a GitHub repository. Finally, you\u2019ll need to commit your project to GitHub and fetch updates to your local repository.<\/p>\n\n\n\n<p>Are you looking for a WordPress hosting provider with developer-friendly features? At Dreamhost, we offer advanced features like SFTP, SSH access, easy access to the command line, and more. Check out our <a href=\"https:\/\/www.dreamhost.com\/wordpress\/managed\/\" target=\"_blank\" rel=\"noopener\">DreamPress plans<\/a> for more information!<\/p>\n\n\n\n\n\n<div\n\tclass=\"article-cta-shared article-cta-small\"\n>\n    <div class=\"tr-img-wrap-outer jsLoading\"><img decoding=\"async\" class=\"js-img-lazy \" src=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/lazy-loading-transparent.webp\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder.webp 1x, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder-x2.webp 2x\"  alt=\"Ad background image\" \/><\/div>\n\n\n\n\n  <div class=\"content-btm\">\n    <h2\n      class=\"h2--md\"\n    >\n      Do More with DreamPress\n    <\/h2>\n    <p\n      class=\"p--md\"\n    >\n      DreamPress Plus and Pro users get access to Jetpack Professional (and 200+ premium themes) at no added cost!\n    <\/p>\n\n            <a\n            href=\"https:\/\/www.dreamhost.com\/wordpress\/managed\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Check Out Plans                    <\/a>\n\n  <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019ve spent much time reading up on WordPress, chances are you\u2019ve heard about GitHub. It\u2019s one of the most popular platforms for developers to host their projects and collaborate with others. Maybe you\u2019ve even considered trying it out yourself but don\u2019t know where to start. The time has come to familiarize yourself with this [&hellip;]<\/p>\n","protected":false},"author":1062,"featured_media":38076,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"In this article, we\u2019ll introduce you to GitHub and explain why it\u2019s such a popular tool for developers. We\u2019ll then show you how to use it!","toc_headlines":"[[\"h-an-introduction-to-github\",\"<b>An Introduction to GitHub<\/b>\"],[\"h-getting-started-with-github\",\"<b>Getting Started with GitHub<\/b>\"],[\"h-how-to-use-github-for-wordpress-development-in-7-steps\",\"<b>How to Use GitHub for WordPress Development (In 7 Steps)<\/b>\"],[\"h-get-started-with-wordpress-development-using-github\",\"<b>Get Started With WordPress Development Using GitHub<\/b>\"]]","hide_toc":false,"footnotes":""},"categories":[13129,550,696],"tags":[],"class_list":["post-38074","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developer-central","category-tutorials","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Use GitHub for WordPress Development - DreamHost<\/title>\n<meta name=\"description\" content=\"In this article, we\u2019ll introduce you to GitHub and explain why it\u2019s such a popular tool for developers. We\u2019ll then show you how to use it!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use GitHub for WordPress Development\" \/>\n<meta property=\"og:description\" content=\"In this article, we\u2019ll introduce you to GitHub and explain why it\u2019s such a popular tool for developers. We\u2019ll then show you how to use it!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-14T16:28:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-22T00:21:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/Using-GitHub-Social.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jason Cosper\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jason Cosper\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use GitHub for WordPress Development - DreamHost","description":"In this article, we\u2019ll introduce you to GitHub and explain why it\u2019s such a popular tool for developers. We\u2019ll then show you how to use it!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/","og_locale":"en_US","og_type":"article","og_title":"How to Use GitHub for WordPress Development","og_description":"In this article, we\u2019ll introduce you to GitHub and explain why it\u2019s such a popular tool for developers. We\u2019ll then show you how to use it!","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2022-11-14T16:28:54+00:00","article_modified_time":"2025-05-22T00:21:14+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/Using-GitHub-Social.jpg","type":"image\/jpeg"}],"author":"Jason Cosper","twitter_card":"summary_large_image","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Jason Cosper","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/"},"author":{"name":"Jason Cosper","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/2273b8bf7336df78f6d99a89c17253c4"},"headline":"How to Use GitHub for WordPress Development","datePublished":"2022-11-14T16:28:54+00:00","dateModified":"2025-05-22T00:21:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/"},"wordCount":2015,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/Using-GitHub-Feature.jpg","articleSection":["Developer Central","Tutorials","WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/","name":"How to Use GitHub for WordPress Development - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/Using-GitHub-Feature.jpg","datePublished":"2022-11-14T16:28:54+00:00","dateModified":"2025-05-22T00:21:14+00:00","description":"In this article, we\u2019ll introduce you to GitHub and explain why it\u2019s such a popular tool for developers. We\u2019ll then show you how to use it!","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/Using-GitHub-Feature.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/11\/Using-GitHub-Feature.jpg","width":900,"height":598,"caption":"How to Use GitHub for WordPress Development"},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-use-wp-with-github\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Use GitHub for WordPress Development"}]},{"@type":"WebSite","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website","url":"https:\/\/www-dev.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www-dev.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www-dev.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/2273b8bf7336df78f6d99a89c17253c4","name":"Jason Cosper","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/02\/IMG_4807-scaled.jpeg","caption":"Jason Cosper"},"description":"Jason is DreamHost\u2019s WordPress Product Advocate, based out of Bakersfield, CA. He is currently working on making our DreamPress product even better. In his free time, he likes to curl up on the couch and watch scary movies with his wife Sarah and three very small dogs. Follow him on Twitter.","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/jasoncosper\/"}]}},"lang":"en","translations":{"en":38074,"es":38091,"ru":52027,"uk":54703,"de":54712,"pl":54724,"pt":54738,"it":67977,"fr":69539,"nl":69567},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/38074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/1062"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=38074"}],"version-history":[{"count":9,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/38074\/revisions"}],"predecessor-version":[{"id":61498,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/38074\/revisions\/61498"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/38076"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=38074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=38074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=38074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}