GIT DIFF COMMAND
Usage: git diff
This command shows the file differences which are not yet staged.
this command is going to show you the difference between these two files.
GIT LOG COMMAND
Usage: git-log
Show commit logs
Usage: git-log –oneline
Show commits in one line
DIFFING BETWEEN BRANCHES
There is an extension that you should try using if you are doing a lot of diffing between branches and checkpoints. It’s called GitLens.