As pointed out on a comment by amalloy, if by "current and last versions" you mean the last commit and the commit before that, you could simply use
git show
http://stackoverflow.com/questions/9903541/finding-diff-between-current-and-last-versions
| 
 As pointed out on a comment by amalloy, if by "current and last versions" you mean the last commit and the commit before that, you could simply use 
 | 
|||
| 
 Assuming "current version" is the working directory (uncommitted modifications) and "last version" is  
credit for following goes to user  And if you always skip the staging area with  Summary 
 Source: git-diff(1) Manual Page – Cerran  | 
|||||||||
  | 
原文:http://www.cnblogs.com/oxspirt/p/6122644.html
git show HEAD~1to show the last-but-one commit, andgit show HEAD~2, etc. for older commits. Show just a single file viagit show HEAD~2 my_file. – Florian Brucker Mar 3 at 10:43