I figured out I can show old versions of a file using \'git log filename\' to show the commits, and then use \'git show commit-id:filename\' for the old version. But it just
Just use > and put it into a file that you can open in emacs.
>
git show commit-id:filename > oldfile
Then open the file in emacs.