encyclopegia.org

Repository (version control)

In version control systems, a repository is a data structure that stores either metadata or metadata and files for a set of files or directory structure.[src] Depending on whether the version control system in use is distributed, like Git or Mercurial, or centralized, like Subversion, CVS, or Perforce, the whole set of information in the repository may be duplicated on every user's system or may be maintained on a single server.[src] Some of the metadata that a repository contains includes, among other things, a historical record of changes in the repository, a set of commit objects, and a set of references to commit objects, called heads.[src] The main purpose of a repository is to store a set of files, as well as the history of changes made to those files.[src] Exactly how each version control system handles storing those changes, however, differs greatly.[src] For instance, Subversion in the past relied on a database instance but has since moved to storing its changes directly on the filesystem.[src] These differences in storage techniques have generally led to diverse uses of version control by different groups, depending on their needs.[src]

In version control systems, a repository is a data structure that stores either metadata or metadata and files for a set of files or directory structure.[src] Depending on whether the version control system in use is distributed, like Git or Mercurial, or centralized, like Subversion, CVS, or Perforce, the whole set of information in the repository may be duplicated on every user's system or may be maintained on a single server.[src] Some of the metadata that a repository contains includes, among other things, a historical record of changes in the repository, a set of commit objects, and a set of references to commit objects, called heads.[src] The main purpose of a repository is to store a set of files, as well as the history of changes made to those files.[src] Exactly how each version control system handles storing those changes, however, differs greatly.[src] For instance, Subversion in the past relied on a database instance but has since moved to storing its changes directly on the filesystem.[src] These differences in storage techniques have generally led to diverse uses of version control by different groups, depending on their needs.[src] ==Overview== , an open source code forge.[src] In software engineering, a version control system is used to keep track of versions of a set of files, usually to allow multiple developers to collaborate on a project.[src] The repository keeps track of the files in the project, which is represented as a graph.[src] A distributed version control system is made up of central and branch repositories.[src] A central repository exists on the server.[src] To make changes to it, a developer first works on a branch repository, and proceeds to commit the change to the former.[src] ==Forges== A code forge is a web interface to a version control system.[src] A user can commonly browse repositories and their constituent files on the page itself.[src] ===Static web hosting=== While forges are mainly used to perform version control operations, some forges allow users to host static web pages by uploading its source code (such as HTML and JavaScript, but not PHP) to a repository.[src] This is usually done in order to provide documentation or a landing page for a software project.[src] The use of repositories as a place to upload web documents allows version control to be integrated, and additionally allows quick iteration because changes are pushed through the Version Control System instead of having to upload the file through a protocol like FTP.[src] Examples of this kind of service include Codeberg Pages, GitHub Pages and GitLab Pages.[src] ==References==[src]

27 sentences · 27 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Repository (version control)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/repository-version-control. Accessed 29 November 2026.

Chicago

"Repository (version control)." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/repository-version-control.

APA

encyclopegia.org. (2026). Repository (version control). Retrieved November 29, 2026, from https://encyclopegia.org/wiki/repository-version-control

Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1372398981 · 0.5 · snapshot enwiki-001372398981

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.