...
For Microsoft TFS, the Main Script defines the location under the collection which contains the project's source.
Git Discovery
Specific for Git, there is the option to directly connect to a provider to more easily define a source control connection with FlexDeploy.
Simply select your provider, enter your credentials and view a list of all your repos and optionally specify a Sparse Checkout Folder.