git log -p -n 1 <filename>
git diff # for changes werent't added to index
git diff --cached # for changes both added and not added to index
git diff HEAD # for changes between current state and previous commit
git log -p -n 1 <filename>
git diff # for changes werent't added to index
git diff --cached # for changes both added and not added to index
git diff HEAD # for changes between current state and previous commit