print git log in json
gem install git_log_to_json
git_log_to_json <path-to-git-repo>
Bug reports and pull requests are welcome on GitHub at https://github.com/sakihet/git_log_to_json.
The gem is available as open source under the terms of the MIT License.