> 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-3/sua-vez/exercicio-3.md).

# Exercício 3

## Fazendo seu primeiro commit com Git

Agora que você já iniciou o repositório do seu projeto **lista-de-leituras**, é hora de criar seu primeiro arquivo e registrá-lo com um commit.

Neste projeto, vamos manter uma lista simples dos livros que você já leu. Para isso, vamos criar um arquivo chamado `lidos.txt`, adicionar um livro e então fazer o primeiro commit.

### ✅ Tarefa

Crie um arquivo chamado `lidos.txt` e adicione uma linha com o título de um livro que você já leu. Em seguida, registre essa alteração no repositório com um commit.

***

#### 💡 Dica

1. Ainda dentro da pasta `lista-de-leituras`, crie um arquivo chamado `lidos.txt`.
2. Escreva dentro dele o nome de um livro que você já leu.
3. Em seguida, use o Git para:
   * Verificar o status do repositório;
   * Visualizar as diferenças nas alterações (`diff`);
   * Adicionar o arquivo ao staging;
   * Fazer o primeiro commit com a mensagem: `"Adiciona arquivo lidos.txt"`;
   * Verificar o log de commits e o status após o commit.


---

# 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-3/sua-vez/exercicio-3.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.
