require 'recipe/deploy/check_remote.php';
Source
Checks remote head.
Cancel deployment if there would be no change to the codebase. This avoids unnecessary releases if the latest commit has already been deployed.