How to update project without access to the Internet?

I had a problem recently -  my team need to copy few commits from old repository to another, new repo. I could just copy-paste pieces of code, but it looks so unprofessional. There is another, very...

MG