From the course: Learning Software Version Control

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

What is a repository?

What is a repository?

- [Instructor] A repository or repo for short is a directory that contains all the files and history for a particular project. It uses a database that tracks changes to files over time. On a repo, multiple users can work on the same files concurrently and maintain a history of each file's version. It allows teams to track changes to their documents, revert to previous versions, and collaborate with others. Each file is assigned a unique identifier, known as a revision or version. When a change is made to a file and a version is created and stored in the repository, the repository stores the current version of each file and the history of all previous versions. This allows users to view the difference between versions of a file and revert to a previous state if necessary. There are two main types of version control systems: centralized and distributed. In a centralized version control system, a central server stores all the…

Contents