I am getting
.gitignore file on the list in
/storage/cache/view and other cache directories.
In case of queries this file is removed, but it is important to keep it in Git repository.
I think it is a bug and there should be some kind of list of files to ignore!