title: How do I prettily print out a git-diff output?
body: <p>for my upcoming Bachelor thesis, I am required to print out the git-diff output for the appendix of the paper. I really like the output of <code>git diff --color-words</code>, but I have absolutely no idea how to bring this - colored and with line numbers included - to a piece of paper on my Mac. I know there are tools like <a href="http://www.sourcetreeapp.com/" rel="noreferrer">SourceTree</a>, but even with those I seem not able to make a pretty print out of the single file's diffs.</p>
  
  <p>Well, I am pretty sure that I cannot be the only one with this problem, and I found some suggested ansi2html solutions, but they to not seem to work with my version of git (1.7.10.2). I also thought about simply printing the Github commit page (which is really pretty and kind of looks like what I need), but the browser will automatically remove all coloring and formatting when I am trying to print it.</p>
  
  <p>Thanks for your help!</p>