To get an old revision (e.g 9fgvx...) saved as fileold.tex from a Git repository use:
$git log #to list revisions
$ git show 9fgvx:./file.tex > fileold.tex

Now, in order to get a nice PDF with the differences between two revisions, after install the corresponding program if necessary:
$ sudo apt-get install latexdiff
use the following:
$ cd latexdir
latexdir~$ latexdiff --flatten fileold.tex file.tex > file-diff.tex
latexdir~$ pdflatex file-diff.tex
option --flatten replace \input or \include by LaTeX content.



El documento original está disponible en