I reported this in slack channel, in 1.1-rc41 (haven't tested others) the .git files were hidden in xref browsing. In 1.1 they're not. I don't know if this is a problem in my setup or if any logic in indexer is broken. Can someone else verify?
1.1-rc41:

1.1:
