When you invoke git diff, it's using the diff utility to compare files, however, not in the default way. It's using a number of extra options, some I can name are:
- Different markers before lines: +/- instead of >/<.
- A few lines of context before and after the actually different lines.
But I'm not sure these are the only changes. What are the others and what command line arguments does git pass to diff to achieve it's default output? And if I would want to compare, say, a.txt with b.txt and make the diff file the way git makes it, what command line should I use?