First clone your repo into a blank directory.
Then, in the new repo, create and checkout a new branch for you friend's work. The branch point should be the last commit where you both had the same source (probably your initial commit).
You then copy his sources into the new tree. Git status/diff should now show the modifications he made.
Do git commit
on that branch, and you should have one repo with both forks of development.
Do git merge master
to merge your work (which is on the "master" branch) into your colleagues new branch. Have fun resolving the conflicts, commit, and you're done.
If you want the changes back in your own repo, then do you can pull
or fetch
from his repo, using an ssh://
URL, if you have ssh access to the machine, or file:///
if you can see it directly.