Git won't track empty directories (because at heart it only tracks files). Common advice is to add a '.gitkeep' file so the directory isn't empty and git will make the directory.

EVEN BETTER ADVICE: put a README in the directory explaining what the empty directory is for and what will eventually be there.

@nedbat, but if you put README in there it's no longer empty, and if it must be empty, then that is not going to work :-).
@mgorny It also won't be empty if you create a .gitkeep file in it.
@nedbat, sure. But the chance of ignoring "hidden" files is greater than chance of ignoring "visible" files.