Use git log instead of git diff to get information
git show will only output the last commit on head, git log will get the info from the file
Try to preserve whitespace