Get git graph in Local Repo API

- Assemble and return a complete git graph (commit history) for a local
  repository.
- Add logging messages to Local Repo API where appropriate. The logger
  is a bit messy and requires a global object, so need to open up an
  issue to look into other options for that.