Git: Add directory?

How am I supposed to add an unversioned directory to my git repo?
There is no "Add" in the context menu in the project view on a folder foo.
I can select "Commit File..." (on the directory?!), but then IDEA only tells me "No changes detected."

On the command line
   git add foo
works fine

Please sign in to leave a comment.