Surprisingly, there is a tool named 'patch' which I'll bet you've got installed. It does exactly what it says on the tin.
yes but patch isn't working
i have the git pulled into 'a' and copied it into 'b'
running patch -p0 < thediff.diff
from the directory above a and b complains about not finding the files