CompTIA Linux+ (XK0-004) — Question 201

After cloning a remote repository, a new feature of that project needs to be developed and integrated into the next major release.
Which of the following is the first Git operation to run to begin working on this new feature immediately after the clone?

Answer options

Correct answer: D

Explanation

The correct answer is D because creating a new branch allows you to start working on your feature in isolation without affecting the main codebase. The other options are incorrect; 'merge' is used to combine changes, 'init' initializes a new repository, and 'diff' compares changes but does not set up a new feature branch.