Git Basics Practice Tests: 120 Questions Explained
Practice tests for Git beginners: setup, staging, commits, undoing changes, .gitignore - every answer explained
100% OFF- 27s on-demand video
- Certificate of Completion
- Mobile, TV & Desktop Access
- Full Lifetime Access
What you'll learn
Course Description
Are you starting with Git - or using it every day without being sure what each command really does? These practice tests check the basics a developer or administrator needs: why version control exists, installing and configuring Git, the working tree, staging area and commits, reading status, diff and log, undoing changes safely, ignoring files and working with remote repositories.
You get 3 practice tests with 120 questions in total (40, 40, 40). Every question was checked twice before release: once by the author against the official documentation, and once by an independent reviewer who answered it blind - any disagreement was settled with a source.
What makes the explanations useful
Each answer tells you why the right option is right and why each wrong option is wrong. The wrong options are real features, commands and settings that are easy to pick by mistake - that is where most of the learning is.
How the tests are built
- Practice Test 1: Version Control, Setup and First Commits: what version control does, centralised vs distributed systems, Git vs GitHub, installing Git, git config and identity, git init, the staging area, git add and git commit, amending commits and good commit messages.
- Practice Test 2: Inspecting History, Undoing Changes and Remotes: git status, git diff and git log, HEAD and the .git folder, git restore, git reset and git revert, .gitignore and git rm --cached, staging deletions, and clone, fetch, pull and push.
- Practice Test 3: Full Mock Exam: a mixed exam across both areas - take it last, in one sitting.
Questions use single-answer and multiple-answer formats; the number of answers to pick is always stated. Suggested time: 60 minutes per test.
Versions: Git 2.51 (and Git 2.43 as shipped with Ubuntu 24.04), Git for Windows with Git Bash, GitHub, as of October 2026.
Please note: these are original practice questions written by an instructor. This course is not affiliated with or endorsed by the Software Freedom Conservancy; Git and the Git logo are trademarks of the Software Freedom Conservancy.
Who this course is for:
- Beginners who are learning Git and want to check what they know
- Developers, administrators and DevOps learners who use Git and want solid basics
- Students of Git courses who want to test what they learned
More free IT & Software courses
100% OFFAWS AIP-C01 Generative AI Practice Exams 2026
100% OFFPython Programming Language (Practice Projects)
100% OFFClaude Certified Developer Foundations CCDV-F Practice Exam
100% OFFClaude Certified Architect Professional CCAR-P Practice Exam
Never miss a free coupon
Instructor coupons expire fast — often within hours of reaching 1,000 enrollments. Join our Telegram channel for instant alerts when new verified coupons drop.