What is the Git command to view the last three commits in a line?
A. git last 3 commits
B. git log -–oneline -3
C. git show log -3
D. git log
Ans : git log -–oneline -3