# Version control

Recording file changes over time so previous states can be consulted and compared.

Canonical URL: https://thecompanybrain.com.br/en/glossary/version-control
Authors: Luiz Gardelin
Updated: 2026-11-15T00:16:55.830Z

Version control is a system for recording changes to files over time so specific states can be retrieved and changes compared. [Pro Git](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control) presents this definition and explains that the practice extends beyond software source code. Different types of files can be tracked through version control systems.

When maintaining an [AI](/en/glossary/artificial-intelligence) application, this record can help answer which setting changed, when an instruction came into use, and which code formed part of a release. The team needs to choose the artifacts included in the history and how each change will be described. Records are more useful when they explain the change and connect it with expected behavior.

## History and reproducibility

Git is a version control tool rather than the name of the entire practice. Pro Git describes local, centralized, and distributed systems. The choice of tool and collaboration process depends on the work; copying files under successive names differs from maintaining a structured history of changes.

Retaining code does not, however, establish that every execution can be reproduced. The team should also record dependencies, configuration, and references to the data and models used. [Data versioning](/en/glossary/data-versioning) concerns a different artifact, potentially requiring its own mechanisms. The team needs to identify what was present in the evaluated version and what changed during deployment.

## Hypothetical example

An organization keeps its assistant's instructions and code under version control. One change introduces a rule for indicating missing documents. The description explains why the change was made and points to relevant test findings. When a question arises about an older summary, the team consults the version that was active at the time.

This lookup does not automatically reconstruct the documents received or a response from an external service. Supporting an investigation requires linking the history to appropriate execution records. Returning a file to an earlier state also does not undo all effects already produced in other systems. Version control preserves changes to tracked artifacts; operational recovery requires a plan specific to the solution, including any information or actions affected outside those files.

## Sources

- [Pro Git: About Version Control](https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control): Definition of change recording and comparison of version control systems.

## Related reading

- [Data versioning](/en/glossary/data-versioning)
- [Software testing](/en/glossary/software-testing)
- [Production environment](/en/glossary/production-environment)
- [AI system monitoring](/en/glossary/ai-system-monitoring)
- [Application programming interface](/en/glossary/application-programming-interface)
- [Automation trigger](/en/glossary/automation-trigger)
