There are three ways ( two others from other answers given here )
1) git diff origin/master master
2) git diff origin/master..master
3) git diff origin/master...master
First one and second one are same and show changes between the tips of the master and remote master.
Third one shows changes that occurred on the master since branch last push and I think this is the most appropriate one you are looking for
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…