# What is Version Control?

Version control is a system that records changes you make to a file or set of files over time; this way, if you want to use a previous version of a file, you can recall that specific version.

Normally, once you save a version of a document, you cannot revert back to its previous version. You can only undo minor changes before saving the document, but once you save and exit the document, any previous versions are gone.

With version control, you can have access to multiple versions of a document, and you can have a record of all the changes that has been done to a document. Your file's version are stored in a version database, also called a repository. If you don't like a current version of a document and want to revert back to an older version, you have that option.

![](/files/-MStyxh_n281Fdi--1me)


---

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