#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →
🌿 FREE · INSTANT SCORE

Git MCQ Quiz: How Well Do You Know Version Control?

Fifteen questions that come up in internships, interviews and real team work.

  • 📥 Staging and commits
  • 🔀 Branches and merges
  • ↩️ Undo and recovery

How to use the Git MCQ Quiz

  1. 1. AnswerChoose one option for each of the 15 questions.
  2. 2. Check your scoreSee your total and the right answer for each question.
  3. 3. ReviseRead the one-line explanation under every question.

Topics in the quiz

The questions follow the order you learn Git: what git add does, creating branches with switch -c, the difference between fetch and pull, what HEAD points to and why merge conflicts happen. Then they move to team situations: the safest way to undo a pushed commit (revert, not reset), when a fast-forward happens, why rebasing shared commits causes trouble, and how git reflog rescues work after a bad reset.

Get every answer right and the score shows 15 / 15. Wrong picks turn red and the correct option turns green, with the reason underneath.

Turning the score into skill

Interviewers rarely ask for definitions alone. They ask what you would do: you committed to main by mistake, your branch is behind, two people edited the same function. For each question you miss, open a terminal, make a throwaway repository with git init and recreate the situation. Ten minutes of breaking and fixing a test repo teaches more than rereading notes.

  • Practise resolving a conflict by hand at least once.
  • Try git stash, switch branches and git stash pop.
  • Reset a commit away, then find it in the reflog.

The Git branching visualizer draws what your commands do, and the Git commands cheat sheet has the syntax.

Frequently asked questions

Are the questions the same every time?

Yes, the same 15 questions, so you can retry until you know them. Use Start again to clear your answers.

Is this enough to learn Git?

It checks the concepts. Real confidence comes from using Git on a project with branches and pull requests.

Is the Git MCQ Quiz free?

Yes, the Git MCQ Quiz is free. The first time you check your first score, you are asked for your name and WhatsApp number once. After that, this and every other Uncodemy tool opens straight away without the form.

More free tools

See all free tools