> For the complete documentation index, see [llms.txt](https://cumbucadev.gitbook.io/github-essentials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-1.md).

# Solução Exercício 1

#### 1) Antes de fazer qualquer alteração, abra o terminal na pasta `lista-de-leituras` e verifique o nome do branch atual com o comando:

```bash
git branch
```

O resultado será algo como:

```bash
* master
```

#### 2) Em seguida, renomeie o branch atual para `main` com o comando:

```bash
git branch -m main
```

Esse comando altera o nome do branch atual para `main`.

#### 3) Verifique novamente a lista de branches com:

```bash
git branch
```

O resultado será algo como:

```bash
* main
```

***

📚 Pronto! Agora o seu repositório está usando `main` como branch principal localmente.


---

# 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:

```
GET https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-1.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.
