The diff command is used to compare changes between revisions.

git diff

The above example will show you the difference between your local directory and the previous committed revision. The changes listed are not yet staged for a commit.

To show changes in the working directory since the last commit, use:

git diff HEAD

Further reading:

Discusión de la Tarea