Git Beginner Quiz
Master Git basics including commits, branches, merging, and basic workflow
Start the quizSample questions from this quiz
A preview of the style and depth. Try each one, then reveal the answer — or skip straight to the timed quiz.
1. What is Git?
- A programming language
- A deployment tool
- A code editor
- Distributed version control system
Show answer
Answer: Distributed version control system. Git is a distributed version control system created by Linus Torvalds. It tracks changes in source code during software development.
2. What is a repository?
- Storage location for project with version history
- A server
- A folder
- A database
Show answer
Answer: Storage location for project with version history. A repository (repo) is a storage location for a project containing all files and their complete version history. Can be local or remote.
3. How do you initialize a Git repository?
- git new
- git create
- git init
- git start
Show answer
Answer: git init. git init initializes a new Git repository in the current directory. Creates a .git subdirectory containing all repository metadata.
Frequently asked questions
How many questions are in this Git quiz?+
30 questions, with a 45-minute time limit. Every question includes a written explanation of the correct answer.
Is this Git quiz free?+
Yes. Every quiz on CodexQuizz is free and needs no account. You only enter a name if you choose to post your score to the leaderboard.
What level is the beginner quiz aimed at?+
Master Git basics including commits, branches, merging, and basic workflow
Can I use this to prepare for a Git interview?+
Yes. The questions cover the topics that come up in Git technical screens, and the explanations are written so that a wrong answer still teaches you the underlying concept.
Ready to test your Git?
30 questions, 45 minutes. Free, no sign-up.
Start now