Creating a Patch Checking the diff diff -Naur vendor/magento/module/original-file.php vendor/magento/module/modified-file.php Creating a patch file diff -Naur vendor/magento/module/original-file.php vendor/magento/module/modified-file.php > patch-file.patch