A repository is a set of persistently stored resources which is governed by a specific agent or project.
Specialized Definition: A digital repository is a set of persistently stored media resources which is governed by a specific agent or project.
While most repositories have historically been local containers, such as buildings or computer storage drives, digital repositories can be distributed.