thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

Repository

A storage location that holds a project's files and their complete version history in a version control system.

Definition

A Git repository consists of a working tree and a .git directory containing objects, refs, and configuration. Remote repositories are hosted on services like GitHub, GitLab, Azure Repos, or Bitbucket.

Example

git init creates a new local repository in the current directory.

Exam tip

A bare repository (git init --bare) has no working tree and is used as a shared remote.

Related terms