how to know if git pull will have new changes code example
Example: check changes after git pull
The very first line in the output of a pull looks like this:
$ git pull
Updating 37b431a..b2615b4
So to get the diff between before and after pull request, use -->
$ git diff 37b431a..b2615b4