What is a Git repository?
Experience Level: Junior
Tags: GitSource control
Answer
Git repository is a special database that contains the data of the versioned project.
It contains current version of the project together with all previous versions of the project - all files, all directories and complete history of all changes with information who did each change and when.
- When you have access to the repository of the project, you have access to all source files and complete history of the project.
- When you do any changes to your files and submit the changes, the Git version control system saves the changes to the repository.
Related Git job interview questions
How do you create local Git repository?
GitSource control JuniorHow do you send changes from local Git repository to remote repository?
GitSource control JuniorWhat is Git?
GitSource control JuniorWhat are the major benefits of using Version Control System (VCS)?
GitSource control JuniorWhat is a Version Control System (VCS)?
GitSource control Junior