> For the complete documentation index, see [llms.txt](https://help.daasity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.daasity.com/technical-docs/transform-code/code-repository/code-repository-branches.md).

# Code Repository Branches

## Branch Basics

Branches are a feature of Github that allows you to fork your code and draft edits without affecting the production code until you're ready for it to do so.&#x20;

Every repository will have at least one branch called master which is the repository that Daasity uses as the source branch for running SQL code in production.

Daasity recommends creating development branches when making any changes to SQL code or script manifest files to that you can properly test your changes before putting them into production.

Using [Github Desktop](https://desktop.github.com/) you will find your current branch at the top in the middle (highlighted in red)

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

From there you can also create new branches or delete existing branches

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

## Creating a Development Branch

Select "New Branch" from the dropdown and give your branch a name

<figure><img src="/files/8tjnNHHrzcTVtvTvOHxQ" alt=""><figcaption></figcaption></figure>

Then publish the branch to push this into Github

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

You can now navigate to the repository in any browser to see the repository is now available in the cloud, enabling the Daasity App to access the repository

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

Click on branches to see all the branches that are available remotely

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

## Additional Information

To learn more about [Github Desktop](https://desktop.github.com/) and how to manage branches and code development we recommend the Getting Started and Popular sections in the [GitHub Desktop documentation](https://docs.github.com/en/desktop)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.daasity.com/technical-docs/transform-code/code-repository/code-repository-branches.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
