How to set Vim NERDTree to prevent show .git folders and files?

git, nerdtree, vim

Solution

Press `Shift+I` when in the NerdTree window

Problem

I make visible all hidden files and folders, also, `.git` folders and files (`.git`, `.gitignore` and etc.) In a project tree when using `NERDTree` in Vim, I wanted to manage to show all other hidden files except `.git` folder and its subfolders and files. How I can do it?

Original source