I have a folder now once exported from a git repository, and the git repository itself:
/
/now/
/repository.git/
I'd like to compare the files in now to the current state of the repository. While this is easily done with --git-dir=/repository.git and --work-tree=/now,
git --git-dir=/repository.git --work-tree=/now status
it is not so obvious to me, when now was a subfolder of the stuff in the git repository.
Is there a way, besides checking out the repository again and diffing the stuff to have git somehow compare the folder and the corresponding subfolder in the repository? (I know, that git is not centered around the idea of changes in single files, therefore I actually expect a well-informed no.)