How to replicate results of compare-two-commits with git locally?


#1

I want to construct diff locally similar to results of:
https://developer.github.com/v3/repos/commits/#compare-two-commits

Wonder which arguments is used by GH?