So, how can new companies that have just started protect
their source code from leaking by their employees?
If it is a new company that means that the source code of the product is not so big and
complex yet in order to distribute developers to different parts and limit their access.
Also, the employees need internet access for help during their work
(that means that they can just upload the source code anywhere they want).
Furthermore, I do not believe that NDAs (Non-disclosure agreements) can stop anyone.
Imagine the following scenario:
You have hired 10 developers, and after some time one of them
uploads all your source code using TOR to a remote server.
Result:
Your source code has been leaked, you can not find the culprit and you don't know who to sue.