i had a very large global ignore list (tex/vim/linux/python specific stuff) and in this one repo git didnt add one specific folder. as it turned out the global ignore list blocked it.
to figure out which files are ignored:
$ cd <git-folder> $ git ls-files --others -i --exclude-standard
and to figure out why one specific folder/file is ignored issue:
$ git check-ignore <path>