Get version history

Supports building a JSON-compatible version history of a file from local git repo.