add options to git diff

I added another optional parameter so that we can pass options to the diff command. None of the previous method signatures have changed. But now we can pass either the paths, options, or both, into the diff command.

I had needed this because I wanted to use the full-index option.