Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 20 of 166
Free Preview · 166 of 552 · questions 1–166 of 552 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
clone command is used for cloning. Very obvious
without special chars: What is the outcome of executing this command? git clone ssh:/ [email protected] /path/to/my-project.git A. creates a local copy of a repository called “my-project” B. initiates a new Git repository called “my-project” C. creates a copy of a branch called “my-project” D. creates a new branch called “my-project”
A is correct: git clone is primarily used to point to an existing repo and make a clone or copy of that repo at in a new directory, at another location. The original repository can be located on the local filesystem or on remote machine accessible supported protocols. The git clone command copies an existing Git repository.