In a text about Git I want to typeset diffs similar to this visualization: Commit details on GitHub.
Is there any ready-made solution to that, especially the coloring of the diff lines? (In other commits there may be even an additional highlighting of the actual changed part of a line with a different background color.
Of course I could 'roll my own' but don't want to reinvent the wheel.
diff only seems to mathematical symbols or how to diff LaTeX documents ...)