How to get information about specific commit ?

It's possible with git show command. For example, to get information about commit xxyy, we should execute:

git show xxyy

The output should return: commit author, commit date, commit message and introduced changes. Sample output can look like:

commit xxyy
Author: Bartosz Konieczny <>
Date:   Fri Mar 23 19:30:58 2011 +0100

    Add comment to class

diff --git a/src/main/java/com/waitingforcode/dto/PersonDto.java 
new file mode 100644
--- /dev/null
+++ b/src/main/java/com/waitingforcode/dto/PersonDto.java
@@ -0,0 +1,43 @@
+/**
+ * Base class for all Person DTOs.
+ */

By the way, with git show we can also see other details, as tags or trees.