The following link shows you how to generate a patch file from git commits, http://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/
In the second part of this artcle, I will show you how to use the generated patch to apply to the working directory.
to be continued…