Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GitLab logo

GitLabCertified Fundamentals Associate

Domain 2Objective 1

Use Core Git Commands Including Checkout, Commit, Push, and Merge GITLAB-CERTIFIED-GIT-ASSOCIATE Practice Questions (Page 5)

Part of the Git and Version Control Workflows domain, which makes up ~16% of our current practice bank.

24questions here
5free pages
4concepts

Questions 21–24

  1. 21foundation · easy

    Which git command switches the working directory to an existing branch named 'feature-login'?

    Select an answer first
  2. 22foundation · easy

    A developer has committed changes locally and wants to share them with the team by uploading them to the remote repository. Which command should they use?

    Select an answer first
  3. 23application · easy

    A developer is on the `main` branch and wants to integrate changes from `feature/payment`. They expect conflicts because both branches modified `payment.js`. What should they do first to prepare for resolving conflicts?

    Select an answer first
  4. 24expert · hard

    A developer is on `main` and wants to integrate `feature/x`. Both branches have diverged significantly, and the developer wants to keep the history linear without creating a merge commit. They also want to ensure that the final state of `main` includes all changes from `feature/x`. Which approach should they take?

    Select an answer first
Finished these 4 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GitLab. “GITLAB-CERTIFIED-GIT-ASSOCIATE” is a trademark of its owner, used for identification only.