# Create a new branch

Branching helps create specific scopes for changes like features and fixes until they are ready to merge back into the main repository. They are crucial for minimizing conflicts in collaborative development processes.

Follow these steps to create a new branch in a repository on Protocol.Land:

1. Navigate to the main page of the repository you wish to add the new branch to.
2. Click on the Branch icon located above the list of files.\
   ![](/files/1d4ahEJndOKvcz78yUjl)
3. A modal will appear prompting you to fill the details for your new branch.\
   ![](/files/VNVCkTrvCQt2Rlix9qty)
4. Type in the name for the new branch.
5. Click “Create”.
6. This creates a temporary branch in the repository. It is added on-chain only when files have been added or changed in this branch.


---

# 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.protocol.land/working-with-repositories/create-a-new-branch.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.
