The short version: protect your IP with four layers, in this order: the contract, access controls, process habits, and exit steps. A signed agreement alone won't save you if the code sits in someone else's repository. Before you hire dedicated developers in India, treat each layer as a requirement, not a favor.
Layer One: The Contract
What the Agreement Must Say
Get these clauses in writing,...