Use same terminology as git docs for config structure
Support subsection being optional

* core has no subsection
* Will test with bare setting
Support bare repos

* Includes change to config parser to allow empty subsections