.patch
patch file
A set of changes ready to apply to source files with the patch command or git apply. It is usually a unified diff, sometimes with email headers from git format-patch.
Sending fixes to mailing lists and applying changes to another copy of a project.
Opens in git, patch, VS Code, any text editor