Findref add Git support and some debug output

When searching inside a git repo, use the git file list so we don't
search files the user doesn't care about (especially the .git folder)