Try adding the files manually (generally this takes precedence over .gitignore
-style rules):
git add /path/to/module
You may even want the -N
intent to add flag, to suggest you will add them, but not immediately. I often do this for new files I’m not ready to stage yet.