git see remote changes before pull code example Example: git see remote changes before pull $ git fetch $ git log HEAD..origin/branchName