Explanation:In Git, there are two main ways to integrate changes from one branch into another: the merge and the rebase. 9. Which of the following statement would create branch named as ‘sanfoundry’ ?
A. git checkout -b sanfoundry
B. git checkout -c sanfoundry
C. git check -b sanfoundry
D. None of the Mentioned
Answer:A
Explanation:In Git, there are two main ways to integrate changes from one branch into another: the merge and the rebase. 9. Which of the following statement would create branch named as ‘sanfoundry’ ?
A. git checkout -b sanfoundry B. git checkout -c sanfoundry C. git check -b sanfoundry D. None of the Mentioned
Explanation:A branch in Git is simply a lightweight movable pointer to one of these commits. 10. branch command is used to determine which branch you are currently in.