An easy way to do this is by adding a .gitkeep
file to the directory you wish to (currently) keep empty.
See this SOF answer for further info - which also explains why some people find the competing convention of adding a .gitignore file (as stated in many answers here) confusing.