Create patch file git diff --no-prefix > [path file name] Apply path file patch -p0 < [path file name]
or even more easier
git apply patch.diff