Git - Empthy folder in Git

How do I add an empty directory to a git repository

The solution is:

# Ignore everything in this directory
*
# Except this file
!.gitignore

For your interest:

Stackoverflow Question

Comments !