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.

0
18
0

If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/nedbat/statuses/116133042317745806 on your instance and quote it. (Note that quoting is not supported in Mastodon.)