The official Git doc says:
$ git diff test This will show you what is different between your current working directory and the snapsh
$ git diff test
This will show you what is different between your current working directory and the snapsh
A snapshot is the state of something (e.g. a folder) at a specific point in time. In this case, snapshot means the current content of the test branch, this doesn't have to be the head revision.