Export and import code with git diff Export git diff b8a1c27369f720dacc65f9a185fd231a65248d16 > rspec-retry.diff Import git apply rspec-retry.diff