how to merge two different codes into single code

Like i and my friend did two different codes. How can i merge those two codes into single code by using github.
1 answers

You would need to merge using Studio Pro using the built in version control. If you come across some code that can’t be resolved in Studio Pro, you can use an external tool like TortoiseSVN or TortoiseGit (depending on the underlying version control system you are using). 

There is full documentation on this:

Hope this helps.