Question 1
Which command shows the commit history of a Git repository?
- A. git log Correct
- B. git push
- C. git init
- D. git stash
Explanation
git log lists the commits reachable from the current branch.
This exam is free: all 6 questions and every mode. See Learn, Exam and PDF export →
Explanation
Explanation
Explanation
Explanation
Explanation
Verifying access...
Something went wrong on our side or with your connection. Please try again.
Loading questions...
Learn mode drills the questions you miss until you master them. Exam mode is a timed run with your result at the end. Practice needs no sign-up. Learn, Exam and the PDF export need a free account — no card, nothing to pay.