The command "git ___________" is used to create a new branch in Git.
- branch
- init
- create
- new
The correct option is "branch." The command "git branch" is used to create a new branch in Git. This is a fundamental operation in Git for branching and managing different versions of a project. When you run "git branch" followed by the branch name, Git creates a new branch based on the current state of the repository.
Loading...
Related Quiz
- Which data structure resembles the behavior of a stack?
- To add a new record to a table in SQL, you would use the ___________ statement.
- In a binary tree, the maximum number of nodes at level _________ is 2^(h) where 'h' is the height of the tree.
- How does RESTful API differ from SOAP-based web services?
- You're tasked with optimizing resource utilization in a virtualized environment. How would you leverage container orchestration tools to achieve this goal?