Website Building » Shopify » How Do I Add Shopify Theme to GitHub?

How Do I Add Shopify Theme to GitHub?

Last updated on October 2, 2022 @ 3:32 am

Adding a Shopify Theme to GitHub

Shopify is one of the most popular eCommerce platforms and it’s no surprise that many developers use GitHub to manage their code. While there are many ways to add a Shopify theme to GitHub, we’ll show you the most common method.

First, you’ll need to create a new repository on GitHub. You can do this by going to the GitHub website, logging in (if you haven’t already), and clicking the “+” sign in the upper-right corner.

Next, you’ll need to upload your Shopify theme files to the new repository. You can do this using the GitHub Desktop application. Once you’ve installed and opened GitHub Desktop, click the “+ Add” button in the upper-left corner.

In the “Add a Repository” window that appears, select the “Local Path” option and click the “Choose…” button. Navigate to your Shopify theme folder and click “Select Folder.”

PRO TIP: If you are not comfortable with code, do not attempt to add your Shopify theme to GitHub. You could potentially break your theme, and then your store would be down until you fixed the code.

Back in the “Add a Repository” window, you should see the path to your Shopify theme folder in the “Local Path” field. Make sure the “Initialize this repository with a README” checkbox is checked, then click the “Add Repository” button.

Now that your Shopify theme files have been added to GitHub, you can go ahead and make any changes you want. When you’re ready to push your changes, simply click the “Commit to master” button and then click the “Push origin” button in the upper-right corner.

That’s all there is to it! You should now have your Shopify theme up and running on GitHub.

Adding a Shopify Theme to GitHub is easy using either their website or Desktop app. Simply create a new repository, upload your files, commit changes, and push origin.

Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.