
GitLabCertified Fundamentals Associate
Domain 2Objective 1
Use Core Git Commands Including Checkout, Commit, Push, and Merge GITLAB-CERTIFIED-GIT-ASSOCIATE Practice Questions (Page 1)
Part of the Git and Version Control Workflows domain, which makes up ~16% of our current practice bank.
24questions here
5free pages
4concepts
Questions 1–5
- 1
A developer is on the 'main' branch and wants to integrate changes from the 'feature' branch into 'main'. Which command accomplishes this?
Select an answer first - 2
A developer has modified a file but has not yet staged it. Which sequence of commands records the change in a new commit?
Select an answer first - 3
A developer has committed a fix on their local `main` branch. They want to upload this commit to the remote repository so it is available to the team. Which command should they run?
Select an answer first - 4
A developer is on the `main` branch and wants to bring the changes from the `feature/login` branch into `main`. They want to preserve the commit history of `feature/login` as-is. Which command should they run?
Select an answer first - 5
A developer accidentally modified a tracked file and wants to discard those changes, restoring the file to its state in the last commit. Which command accomplishes this?
Select an answer first
Finished these 5 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.