Git repository A git repository is a storage location where a collection of files managed by git is stored. Git repositories can be hosted remotely on GitHub and other platforms.