Skills101
← All practice quizzes

Quiz: Searching Git History

5 questions · new set on every retakeNo time limitPass: 60%+10 XP on first pass

Use Git as a detective. Filter git log by author, message, date, file and code, see who last changed a line with git blame, and let git bisect find the exact commit that broke a test.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    You want commits whose message mentions "invoice". Which command fits?

  2. Question 2

    You want to know when the code discount = 0.5 was added to the project. What is the best tool?

  3. Question 3

    What does git blame app.py show for each line?

  4. Question 4

    In git log -- README.md, what is the -- for?

  5. Question 5

    git bisect finds the first bad commit using which idea?

🎯 Today’s placement challenge — 10 questions, no login. Can you score 10/10?Take today’s challenge →