Create and apply a file patch
Create a file patch with differences
diff -Naur <original> <changed> > my-patch.patch
Apply file patch
patch -p1 < my-patch.patch
diff -Naur <original> <changed> > my-patch.patch
patch -p1 < my-patch.patch