vim nerdtree hide .git

add the following line to your .vimrc file:
let NERDTreeIgnore=[".git"]
m-naderian