If you’ve noticed, git does not allow you to add empty directories and commit them.
There is a simple work around. Create a
inside the empty directory:
The first line says to ignore every file in this directory, recursively.
The second line adds an exception that the
.gitignore file should not be ignored.
Git with it!