I am trying to find out a way on how to search for a file on git repo with the exact contents (100% match). Suppose I have this simple scenario:

* I create a new git repo on the local. Create a text file name:
myFile.txt with a content "1". And commit it to the repo. Just for
sake of simple example, the first four letters of the SHA-1 hash is
"1111".
* Then I modified the myFile.txt with a content "2" and commit to the
repo. SHA-1 will be "2222".
* Then I modified it again with a content "3" and commit to the repo.
SHA-1 will be "3333".
* Now, I modified the file and put a content "1". (This time I will not commit yet)

How will I be able to know in which commit does the myFile1.txt have the same contents on all the previous commits? Is there a command to do that? e.g.

```
git-find-the-file   myFile.txt
output: The same file is on commit "1111"

```

I wish to use it on finding text and binary files. My actual application is finding the same word documents on a Git Repo with more than 100 commits.

Thanks in advanced.