Here is the command:
git show COMMIT_NAME:path/to/file/from/git/repo/root/file.py
You can also:
- Download SmartGit
- Add your repo
- Click “Log”. That will show you a list of all your commits.
- As you click on an older commit, on the bottom left hand corner there is a pane called “Files” which shows you all the files that changed in that commit
- When you click on a file, it shows you how it changed (the diff) in the two panes to the right. That’s pretty nifty too