Microsoft
70-354 · Question #40
You are developing a Universal Windows Platform (UWP) app with all code-sources hosted in GitHub. You need to create a new branch in GitHub. What commands should you run to achieve this?
The correct answer is A. The commands should be run in the sequence: `git checkout -b newBranch` followed by `git push origin newBranch`. See the full explanation below for the reasoning.
Question
You are developing a Universal Windows Platform (UWP) app with all code-sources hosted in GitHub. You need to create a new branch in GitHub. What commands should you run to achieve this?
Options
- AThe commands should be run in the sequence:
git checkout -b newBranchfollowed bygit push origin newBranch.
How the community answered
(19 responses)- A100% (19)
Community Discussion
No community discussion yet for this question.