Add support for instantiation of a GitRepo from a bare repository path.

Adds basic support for bare repositories.