← Quiz: GitHub: all 10 questions
Quiz: GitHub · Question 6 of 10
What does git clone <url do?
What does git clone <url> do?
- A.Creates an empty repository
- B.Downloads a full copy of a repository, including its history, and sets it up as origin
- C.Uploads your code to GitHub
- D.Deletes a remote repository
Answer & explanation
Correct answer: Downloads a full copy of a repository, including its history, and sets it up as origin
A clone has the complete history, not just the latest files.
Can you get the rest right without peeking?
Take the timed Quiz: GitHub quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →