QuestionQ5

DevSecOps Pipeline-Code Stage

Gabriel Bateman works as a DevSecOps engineer at an IT company that develops virtual classroom software for online teaching. He wants to clone the BDD security framework onto his local machine using the following URL:

https://github.com/continuumsecurity/bdd-security.git

Which of the following commands should Gabriel use to clone the BDD security framework?

  • A git clone https://github.com/continuumsecurity/bdd-security.git
  • B git clone https://github.com/continumsecurity/bdd-security.git
  • C github clone https://github.com/continumsecurity/bdd-security.git
  • D github clone https://github.com/continuumsecurity/bdd-security.git
Explanation

Git repositories are cloned using the command git clone <repository-url>, which creates a local copy of the remote repository at the specified URL. The correct command must use the exact repository URL provided, https://github.com/continuumsecurity/bdd-security.git, without any typos in the organization name. Using 'github clone' instead of 'git clone' is invalid, as 'github' is not a recognized command-line tool for this operation — the actual Git version control command is 'git'.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!