The patch file (also called a "patch" for short) is a text file that consists of a list of differences and is produced by running the related diff program with the original and updated file as arguments.