Question 1
Which Git command initializes a new, empty repository in the current directory?
Correct Answer:
git init
Question 2
Which command downloads a copy of an existing repository from a remote URL?
Correct Answer:
git clone
Question 3
What does `git add ` do?
Correct Answer:
Stages the file's current changes for the next commit
Question 4
Which command creates a commit with the staged changes and a message in one step?
Correct Answer:
Both A and B work — they are equivalent
Question 5
What is the difference between `git fetch` and `git pull`?
Correct Answer:
fetch downloads remote changes without modifying your working branch; pull fetches and then merges (or rebases) into your current branch
Question 1
Exam overview

About this Exam

Prepare with the GitLab Git Associate Practice Questions - GitLab Certified Git Associate Exam practice quiz. This question bank includes 100 questions covering command, branch, gitlab, merge, and file. Use it to review important concepts, identify knowledge gaps, and build confidence for the related exam, course, or assessment.

More details

Additional Information

GitLab Git Associate Practice Questions - GitLab Certified Git Associate Exam

This practice set contains 100 questions from the matching question bank and focuses on command, branch, gitlab, merge, and file. Work through each question carefully, review the provided solutions, and revisit topics that need more study before your next attempt.

This is an independent study resource intended for practice and review; it is not an official examination or an endorsement by any organization named in the title.

Quiz information

Frequently Asked Questions

The complete question count is available after full access is unlocked.
No fixed duration is currently configured for this quiz.
Question explanations are included where they are available in the quiz content, helping you review the reasoning after answering.
Yes. You can retake the practice test again as you continue studying during your available access period.
After your access is confirmed, you can continue into the complete practice exam from this quiz flow.
Unless explicitly stated otherwise, this page provides independent practice material for study and exam preparation and is not the official examination itself.
Keep studying

Related Questions