For Linux / MAC OSX, use the following one-liner, to create / put empty placeholder files into the folders, recursively:
find . -type d -empty -not -path "./.git/*" -exec touch {}/.gitkeep \;
For Linux / MAC OSX, use the following one-liner, to create / put empty placeholder files into the folders, recursively:
find . -type d -empty -not -path "./.git/*" -exec touch {}/.gitkeep \;