git diff
[1]
git diff --no-index -- A B
还可加 git diff 的其他选项(如指定 context 行数等等)
--depth=1
[2]
git pull --unshallow