# Branch

You can easily manage your branches from the Git \[Branch] tab. \
It outputs a list of the branches currently created, and provides 2 pieces of information.

* **Branch:** The name of the branch.&#x20;
* **Current**: The branch of the project you are currently working on. Git provides different working directories for different branches, so if you move a branch, your working directory will also change.

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

The Branch tab offers 3 commands you can select a single branch to execute a command.&#x20;

* **Create:** Creates a new branch. Click the button and a pop-up window will appear where you can enter a name for the branch. Enter the branch name and click the OK button to complete the branch creation.&#x20;
* **Merge:** Merges the selected branch into the desired branch.&#x20;
* **Checkout**: Moves the working directory to the selected branch. After clicking the button, the Branch tab and Project Explorer will update and you will see that your current location has been moved to the selected branch.

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

When you create a branch, you can select a starting point for the branch.&#x20;

You can select the parent commit of the current working copy, a specific commit, a specific branch, a specific tag, or you can select a commit directly from the list of the last 15 commits.&#x20;

If you select the **'Move to a new branch'** option, you will be automatically moved to the branch created after the branch is created.


---

# 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://help.goorm.io/en/goormide/workspace/source-code-management-git/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.
