See changes in Git after staging change
On git and want to see the changes on files after you stage it?
git diff --cached file-to-check
Also if you want to see the difference of hte file with repo
git diff HEAD file-to-checkUpdating Git on Mac showing previous version
Changes made in new revision of SVN. How to see changes in revision in SVN
Getting the difference between two branches in mercurial