Repository
Also: repositories
A folder of files whose history is tracked by Git.
The fuller definition
A repository is a collection of project files and, in version-control systems, the history and metadata that track their changes.
- Source files
Code and content
- History
Recorded changes
- Remote copy
Optional shared location
A simplified relationship, not a screenshot or a complete design.
A concrete example
A website repository holds its source code, content, and build instructions.
The distinction that matters
A repository can contain credentials or confidential files if poorly managed; version history may retain deleted content.
Related terms
Git
A tool that keeps a history of every change to a set of files, so you can go back or see who changed what.
Products & model familiesGitHub
A website where code is stored and shared.
Hardware & hostingDeployment
Putting a tool into use. This includes deciding who can use it and how it will be kept working.
Where it is taught
APIs and JSON: connect a model to a small programSource and further reading
MDN · Web technology glossaryThe definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.