A Git repository is a virtual storage location for code. It allows one to save varying versions of code, which can be accessed, shared, and collaborated together with others. The size and overall make-up of a repository is dependent on its creator. One repository could, for example, consist of a single component of software - another could contain an entire project.