Git Commands Quiz
Git is the most widely used version control system in software development, and knowing your way around Git commands is a fundamental skill for any developer. This quiz tests the commands and concepts that come up in everyday development workflows.
Questions cover the core Git workflow — staging, committing, branching, merging, and remote operations — as well as some of the commands that trip up developers who are still building their Git muscle memory.
From git commit to git rebase, this quiz tests whether you really know your Git commands or just the ones you use every day.
Start quiz →
Opens in a new tab on Cletica
Sample questions3 of 9 shown
Q1
Which command stages all changes in the current directory for commit?
Q2
What does 'git pull' do?
Q3
Which command creates a new branch and immediately switches to it?
What This Quiz Covers
- The Git workflow: working directory, staging area, repository
- git init, git clone, and setting up a repository
- git add and git commit: staging and committing changes
- git status and git log: checking repository state
- git branch, git checkout, and git switch: working with branches
- git merge vs. git rebase: combining branch history
- git push, git pull, and git fetch: working with remotes
Cletica
Want to create your own quiz?
Build surveys and quizzes, share with anyone, collect responses — free to start.
Try Cletica for free →