title: Git: determine revision based on file contents
body: <p>I have a file from a project that uses GIT as repository. For that file I need to find out to which revision this file belongs to. The file is stand-alone outside of an repository (not tracked) therefore the standard git commands do not work.</p>
  <p>Is there a way to determine the revision this file belongs to only based on its filename and its content?</p>