This patch updates our internals to return objects from Repository
methods instead of just returning raw responses. This moves the
serialization code into the API endpoints, instead of having it in everyRepository implementation. This also allows our tests to compare these
structures directly, instead of re-parsing the JSON into a private
struct.

Additionally, the Git unit tests have been updated to useassert.Equal(expected, actual), which is what the library expects.