I have a source tree (of a PHP application) which was rsynced out of a git repository at a point in time.
Can I find the matching version in the repo (the last commit which is present in the source tree)? - What if there were some minor modifications to this exported, untracked version of the source tree?
It should be possible if the terms are defined correctly. Is there a tool or a builtin git utility to solve this problem?