Connecting Your Shopify Theme to GitHub: Why to Ask Your Developer for It and Who Should Own the Repository
By Affan Siddiqi, Founder, Psycomaths · Part of Shopify store development
Shopify's GitHub integration links a theme in your store to a branch in a GitHub repository, so every change to the theme's code is saved with a history of who changed what and when. For a brand that works with developers, it is the simplest form of version control: you can see every change, roll back a bad one and hand the code to a new developer without losing work. The repository should sit in a GitHub account the brand owns, with developers added as collaborators.
What the integration does
You connect a theme from the Themes page in the Shopify admin by choosing to add a theme from GitHub and picking a repository and branch. From then on, changes pushed to that branch update the theme, and changes made in the theme editor or code editor are committed back to the branch. Shopify's older command line tool, Theme Kit, is still around for custom deployment setups, but most brands only need the built-in connection and Shopify CLI on the developer's side.
Why a brand should care, not only developers
Without version control, the only record of your theme is the theme itself and whatever duplicate copies are lying around. When a developer leaves, when two people edit at once or when a change breaks the product page during a sale, there is no clean way to see what changed or put it back. With a connected repository, each change has a date, an author and a description, and reverting a bad change is a routine job instead of a rebuild.
The two-way sync and how conflicts happen
Changes in the theme editor, such as moving a section or changing a colour, are saved as commits too, so the repository fills with small automatic changes from whoever edits in the admin. If a developer pushes code at the same moment someone saves in the editor, the same file can be changed in two places and one change can overwrite the other. The usual fix is to connect the live theme to a main branch the developer only updates through reviewed merges, and to do development on a separate branch connected to an unpublished duplicate theme.
Who should own the repository
Create the GitHub account or organisation in the brand's name and invite developers to it, rather than letting the code live in a freelancer's or agency's personal account. It is the same principle as keeping your Shopify store, ad accounts and pixels in your own name. If a relationship ends, you keep the full history and the next developer starts with everything. Write this into the agreement when you hire, along with who can merge changes into the branch connected to the live theme.
When it is overkill
A store that changes its theme twice a year through the editor and never touches code gains little from GitHub. It earns its place once custom code is involved, more than one person edits the theme, or the store is large enough that a broken page during a sale costs real money. At that point it is cheap insurance and most competent Shopify developers already work this way.
Questions
Related guides
Editing a Duplicate Shopify Theme: How to Avoid Losing Changes When You Publish
Duplicating your live Shopify theme and editing the copy is the right way to make changes, but the copy is a snapshot. Anything changed on the live theme after you duplicated it, such as a new banner, an app block or edited section settings, is not in the copy. When you publish the copy, those live changes disappear. Keep the editing window short, freeze live edits while the copy is being worked on, and compare the two themes before you publish.
How to Hire a Shopify Developer (and What to Ask First)
Hiring a Shopify developer starts with knowing which kind you need: a theme developer for design and storefront changes, an app developer for custom functionality, or a Shopify Plus specialist for checkout and enterprise work. The best way to judge one is not their portfolio of screenshots but how they answer specific questions about live stores they've built, how they protect your theme, and who owns the code afterwards.
Shopify's Custom Liquid Section: What It's Good For and When It Becomes a Problem
Shopify's Custom Liquid section or block lets you add Liquid, HTML and small amounts of JavaScript to a page from the theme editor, without editing theme files. It is fine for small, page-specific jobs like showing a metafield, embedding a widget or adding a one-off message. It becomes a problem when it is used to hold tracking scripts, styling for the whole site or features that should be proper theme sections, because that code is hard to find, test and carry over to a new theme.
Shopify Theme Customisation: What You Can Change in the Editor Yourself and What Needs a Developer
In a current Shopify theme, most layout and content changes happen in the theme editor without code: adding, moving and hiding sections and blocks, editing text and images, changing colours and fonts in theme settings, and assigning templates. You need a developer when the change is something the theme does not offer as a setting, such as new section types, custom logic on the product page, changes to how variants behave or anything that touches performance across the whole site. Apps sit in between and are best kept for features, not for layout.
A Custom Shopify Theme From Scratch or Built on an Existing Theme: Which a DTC Brand Needs
Most DTC brands asking for a custom theme get what they want faster and with less risk by building on a good existing theme, either a paid Theme Store theme or one of Shopify's own free themes, and adding custom sections on top. A theme written from scratch makes sense when the brand needs a structure no existing theme supports, has its own developer to maintain it, and accepts that every future Shopify feature has to be added by hand.
Related service
Website Development →Psycomaths' website development service builds and modifies the ecommerce storefront itself -- Shopify theme development, custom sections, and page changes aimed at conversion rate and page speed -- separate from the paid media that drives traffic to it.