Whitelisting and subdirectories in Git

I have created a white-list for text files only. * !*.txt Now, I have an untracked text file in a sub-directory - sub/dir/file.txt, and this is NOT shown (it is ignored). Text files in the root