title: Transform git output into a JSON File
body: <p>I using:</p>
  
  <pre><code> git log --all --pretty=format:'%n{%n%d%n  "commit hash": "%H",%n  "author":     
      "%an",%n  "author_email": "%ae",%n  "date": "%ad",%n  "message": "%f"%n}'
  </code></pre>
  
  <p>to get the log of all the commits with the differents branches of a github repository, what I need is to transform the output into a .json file to can use as variable in a javascript code.</p>