> For the complete documentation index, see [llms.txt](https://help.goorm.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.goorm.io/ko/goormide/workspace/source-code-management-git/branch.md).

# Branch

Git \[Branch] 탭에서 브랜치를 쉽게 관리할 수 있습니다. \
여기에서는 현재 만들어져 있는 브랜치 목록을 확인할 수 있습니다. 여기에서 다음 두 가지 정보를 확인할 수 있습니다.

* **브랜치**: 브랜치 이름.
* **현재**: 현재 작업하고 있는 프로젝트의 브랜치. Git은 브랜치별로 다른 작업 디렉토리를 제공하므로, 브랜치를 옮기면 나의 작업 디렉토리도 변경됩니다.

![](/files/-M14ldnxAM5AG4gDSQ12)

Branch 탭에서는 다음 세 가지 명령어를 이용할 수 있습니다. 하나의 브랜치를 선택하여 명령어를 실행할 수 있습니다.

* **Create**: 새로운 브랜치를 생성합니다. 버튼을 클릭하면 브랜치 이름을 입력할 수 있는 팝업 창이 뜹니다. 브랜치 이름을 입력하고 **`확인`** 버튼을 누르면 브랜치 생성이 완료됩니다.
* **Merge**: 선택한 브랜치를 원하는 브랜치에 병합합니다.
* **Checkout**: 선택한 브랜치로 작업 디렉토리를 옮깁니다. 버튼을 클릭하면 브랜치 탭과 프로젝트 탐색기들이 갱신되고 현재 위치가 선택한 브랜치로 옮겨집니다.

![](/files/-M14mIgFjIHePx7a_fjh)

브랜치를 생성할 때에는 브랜치의 시작점을 선택할 수 있습니다.&#x20;

현재 작업 복사본의 부모 커밋과 특정 커밋, 특정 브랜치, 특정 태그를 선택할 수 있으며, 최근 15개의 커밋 목록에서 직접 커밋을 선택할 수도 있습니다.

'**새 브랜치로 이동합니다**' 옵션을 선택할 경우, 브랜치 생성 후 생성된 브랜치로 자동 이동됩니다.


---

# 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.goorm.io/ko/goormide/workspace/source-code-management-git/branch.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.
