MacBook avec code sur un bureau

Git know which files will be changed before git pull

To know which files are going to be modified, you have to start by fetching the branches

git fetch

then to see the files

git log -p HEAD..origin

and the differences (three dots, not two)

git diff HEAD...origin