An archive contains a registry named git, where git keeps the greater part of its metadata for the storehouse. The substance of the git registry is private to git.
Repository in Git is a place where Git stores all the files. Git can store the files either on the local repository or on the remote repository.