Git Placement Quiz

Updated · 4 min read
easyGit 2.53gitquizplacementassessment

A driving instructor's first lesson with a new student often starts with a short drive around the block. Five minutes later, they know whether to begin with the pedals, polish the student's parking, or go straight to motorway driving. This quiz does the same for Git. Answer the 10 questions below, submit, and you will get a suggested track with a link to where you should start. It takes about five minutes.

The Three Tracks

The Git course is written once but can be read in three ways.

TrackWho it suitsHow to use the course
LearnStudents, career switchers and anyone who has never used Git, or only copies commandsGo lesson by lesson from the start, doing every code challenge
RefreshDevelopers who use Git daily but avoid rebase, reset or conflictsFill the gaps: the three areas, undoing, modern commands, rebase and the reflog
Deep DiveExperienced developers who want to know how Git works insideRead the internals, merge, performance and security lessons in depth

The Quiz

Questions 1 to 4 check the basics, 5 to 7 everyday team work, and 8 to 10 how Git works inside.

Git placement quiz

10 questions
1You edited App.java. Which command shows that it is modified but not yet staged?
2What does git add App.java do?
3What is the difference between git fetch and git pull?
4You committed too early and want to undo the last commit but keep its changes staged. Which command?
5Which command undoes a commit that is already pushed to a shared branch, without rewriting history?
6What is a branch in Git?
7What does "detached HEAD" mean?
8Your teammate already pulled your branch. Why shouldn't you rebase it and force push?
9You ran git reset --hard and lost two commits. Which command helps you find them again?
10Which type of Git object stores the content of a file?

What Your Score Means

ScoreTrackWhere to start
0 to 4LearnWhat Is Git, then every lesson in order, about 5 hours a week
5 to 7RefreshWorking Tree, Staging Area and Repository, then the lessons on undoing changes, rebasing and recovering lost work
8 to 10Deep DiveGit Internals Overview, then merges, performance and security

Was this tutorial helpful?