# Connect development stores with development branches

You can use GitHub integration to create development environments for your scripts.

A single GitHub repository might be connected to multiple DataJet apps across multiple stores. Additionally, a single script might be connected to a different branch. This allows you to connect your production store scripts with *main* branch in your repository and your development store scripts with any other branch (e.g. *development*).

We will reuse the repository we created as part of the [setup](/integrations/github.md). Start by creating development branch in your GitHub repository. With two branches in your repository, the *main* branch will be connected to production Shopify store, while *development* branch can be connected to the development store.

<figure><img src="/files/fCmsCvhR3TH9T53I1YWw" alt=""><figcaption></figcaption></figure>

Now you can work on any script updates in your development store. When the changes are ready to be deployed, simply merge your *development* branch to your *main* branch. The production store will be automatically updated with the latest script version.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.datajet-app.com/integrations/github/connect-development-stores-with-development-branches.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
