I wanted to check in a folder skeleton to my git repo. The idea was that other people can just copy the folder and use / modify it in their repositories as a template folder.
Since git does not allow checking in empty repositories my preferred solution would be to add a .keep file to every subfolder. This would allow any folder to get checked in.