> For the complete documentation index, see [llms.txt](https://intro-to-github-docs.beliciarodriguez.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://intro-to-github-docs.beliciarodriguez.com/background/what-is-git.md).

# What is Git?

Git is a type of version control system called **distributed version control system** ([1](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control)).

Pretend that Computer A is your "local computer", where all of your file's versions are stored in a version database, also called a repository. Git can also store a copy of your repository in a server computer (i.e GitHub). This server will store a copy of your local repository; that way, if anything happens to your local repository, you can backup your local repository using your server repository.

If you want to have a copy of your server repository on another computer (i.e work computer), then you can have the server send a copy of its repository to your work computer. Now, there are three copies of your repository located in three different locations.

![](/files/-MSu-31OPBReBnzNcELn)


---

# 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://intro-to-github-docs.beliciarodriguez.com/background/what-is-git.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.
