+# Check if git is available, and this is a git repository
+GIT=0
+which git &> /dev/null && git rev-parse &> /dev/null && GIT=1
+
+# Print out some git information, if available
+if [ ${GIT} -ne 0 ]; then
+ cd ..
+ git log --oneline -1
+ cd - > /dev/null
+ git log --oneline -1
+ echo
+fi