Courseiva
hardMultiple ChoiceObjective-mapped

FC0-U71 Practice Question: Two developers have edited the same file and…

Two developers have edited the same file and created different versions. To integrate their changes, which Git operation should they perform?

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

git merge

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.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • git pull

    Why it's wrong here

    git pull is a fetch and merge, but the operation needed is merge.

  • git merge

    Why this is correct

    git merge combines branches, integrating changes.

  • git rebase

    Why it's wrong here

    Rebase rewrites history, but is not the primary integration method.

  • git commit

    Why it's wrong here

    git commit only saves local changes.

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 →

How Courseiva writes practice questions · Editorial policy

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.