in order to see the differences, first you need to fetch the commits from the origin repository:
git fetch origin
Now you can see the diffs (Assuming you are on the master branch)
git diff HEAD..origin/master
Now you are armed with the knowledge you seek to decide to merge
or rebase
before push
ing your changes.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…