With the help of GIT version control, you can track the history of not only one file but a collection of files in the repository. This function also allows you to revert the collection of files to another version.
A collection of files with their complete history is stored in the repository, and each version captures a snapshot of the file system at a particular time.