Supporting git init with --bare
Closes #45