GitCreate and Apply patch fileOn this pageGit Create and Apply patch fileCreate patch filesgit format-patch [-<num of commit>] [commit]Apply patch filegit am <patch>Fix patch errorsgit apply <patch> --rejectLook at the created <.ref> file and fix the errors.git add <modified files>git am --continue