When I make some changes to a file, I sometimes would like to look at both the original file and the file being changed by me, so that I know what I have just changed i.e what it was like before I change it.
Since the working directory can only have a single version of the file, is it possible to do that under git?
or shall I do that outside git, e.g. by copying the original file somewhere else?
Or shall i change my work style to avoid looking at the original file while changing it, by some other better work style?
Thanks.
