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

Clone

Creating a local copy of a remote Git repository, including its full history and a remote named origin.

Definition

git clone downloads all objects and checks out the default branch. Shallow clones (--depth 1) fetch limited history for faster CI checkouts.

Example

git clone --depth 1 https://github.com/org/repo.git

Exam tip

Clone is for the first copy; use fetch/pull to update an existing clone.

Related terms