If you need to get the latest changes to a remote repository, you can use git fetch .
To see the differences between the version and the latest version, try git diff . To compare between the selection and your version, try git diff HEAD HEAD^ .
source share