git does not allow empty folders in the repository because it tracks content. To remedy this, you can create an empty file in the folder (I like to use .empty as the filename), then add that file to the repository.