nerdexam
MicrosoftMicrosoft

GH-900 · Question #97

GH-900 Question #97: Real Exam Question with Answer & Explanation

Sign in or unlock GH-900 to reveal the answer and full explanation for question #97. The question stem and answer options stay visible for context.

Introduction to Git and GitHub

Question

What command should you type to create and switch over to a new branch?

Options

  • Agit checkout -n newBranchName
  • Bgit checkout -b newBranchName
  • Cgit checkout newBranchName
  • Dgit branch newBranchName

Unlock GH-900 to see the answer

You've previewed enough free GH-900 questions. Unlock GH-900 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Git branching#Git commands#Creating branches#Switching branches
Full GH-900 PracticeBrowse All GH-900 Questions