CompTIA Linux+ (XK0-004) — Question 151

A systems administrator has finished building a new feature for the monitoring software in a separate Git branch.
Which of the following is the BEST method for adding the new feature to the software's master branch?

Answer options

Correct answer: A

Explanation

The best method to integrate the new feature into the master branch is by merging the changes from the feature branch, as this combines the new code with the existing codebase. Saving changes automatically with each commit does not specifically merge branches. Cloning the feature branch into the master branch is not applicable, and pulling changes is not the same as merging, as it may not combine the branches properly.