To extract the changes that are in a specific commit and apply them in another project, run
git format-patch -1 commit_shaThat will generate a .patch file for the specific commit.
Then to apply it, just run:
patch -p1 < 0001-file.patchI've tried cat 0001.patch | git am, and so on but nothing was working.
The only command that is running fine to apply the changes is using the patch command.