Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index] <path> <path>
WARNING: You most probably have uncommitted changes.
WARNING: These changes will not be tested.
fatal: not a git repository (or any of the parent directories): .git
FATAL: exit status 128