FC0-U71 Software Development Concepts Practice Question
A team of developers is working on a large project with multiple features. They use a version control system. One developer creates a new branch to develop a feature, while other developers continue working on the main branch. After completing the feature, the developer wants to combine the changes from the feature branch back into the main branch. What version control operation should be performed?
⚠ Common exam trap
The CompTIA ITF+ exam often tests the distinction between a 'pull request' (a request to merge) and the actual 'merge' operation, leading candidates to confuse the collaborative workflow step with the underlying version control command.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Merge
The correct operation is 'Merge' (D), which combines the changes from the feature branch into the main branch. In Git, merging integrates the commit history of two branches, preserving the feature's work while incorporating it into the target branch. This is the standard workflow for bringing a completed feature back into the main line of development.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Pull request
Why it's wrong here
A pull request is a request to merge, but the actual operation is merge.
- ✗
Fork
Why it's wrong here
Fork creates a copy of a repository, usually for independent development.
- ✗
Commit
Why it's wrong here
Commit saves changes to the local repository.
- ✓
Merge
Why this is correct
Merge integrates changes from one branch into another.
Go deeper
Related to this question
About these practice questions
Courseiva writes every FC0-U71 question from scratch — 988 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
6 more ways this is tested on FC0-U71
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A developer is using Git and wants to integrate changes from a feature branch into the main branch. Which Git operation should be performed?
hard- A.Branch
- B.Commit
- C.Clone
- ✓ D.Merge
Why D: Merging combines changes from one branch into another. Committing saves changes locally, branching creates a new line of development, cloning copies a repository.
Variation 2. A developer is working on a collaborative software project and uses Git for version control. The developer creates a new feature on a separate branch. After completing the feature, what is the typical next step to integrate the changes into the main branch?
hard- A.Commit the changes directly to the main branch
- B.Delete the feature branch without merging
- ✓ C.Merge the feature branch into the main branch
- D.Push the branch to the remote repository
Why C: In Git, after developing a feature on a separate branch, the typical workflow is to merge that branch into the main branch (e.g., main or master). Merging combines the changes.
Variation 3. In Git, which action creates a snapshot of changes in the repository?
hard- A.Merge
- ✓ B.Commit
- C.Push
- D.Branch
Why B: A commit records changes to the local repository.
Variation 4. A software developer is working on a team project and uses Git for version control. The developer has made changes to the code and wants to save a snapshot of the current state of the project locally. Which Git command should they use?
hard- A.git pull
- B.git branch
- ✓ C.git commit
- D.git push
Why C: git commit saves a snapshot of the changes in the local repository.
Variation 5. A developer creates a new branch in a version control system to work on a new feature. After completing the feature, the developer wants to combine the changes from the feature branch back into the main branch. What is this process called?
easy- A.Committing
- B.Forking
- C.Branching
- ✓ D.Merging
Why D: Merging combines changes from one branch into another.
Variation 6. Two developers have edited the same file and created different versions. To integrate their changes, which Git operation should they perform?
hard- A.git pull
- ✓ B.git merge
- C.git rebase
- D.git commit
Why B: Git merge. Merging combines changes from different branches into a single branch, integrating the work of both developers. git pull (A) fetches changes from a remote repository and merges them into the current branch, but the question specifically asks for the operation to integrate changes from two different versions (branches) locally, which is merge. git rebase (C) rewrites commit history by reapplying commits on top of another base tip, which is not a direct integration of two versions. git commit (D) saves local changes to the repository but does not integrate changes from another source.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.