What does the --git option do?

in starting a new project, i decided to try using the --git option to
see what would happen..

i figured it might just make up a new project and put the whole thing
under git control..

unfortunately, all i got was:

fatal: Not a git repository


can someone tell me exactly how this is used?


If you do mkdir project && cd project && git init && rails . --git it
will add all the rails files to a git repository.