"Microsoft has added an even easier way to import any Git repo into your VSTS account. You can now import it directly from the Team Services:
From the Repository dropdown list, select Import repository. Enter the clone URL of your source repo, your credentials, and the name of your new repository Click Import, wait a few seconds… Your repository, including all history, and branches is now available in VSTS!"
I have tried providing require details to initiate code from external git repository to VSTS git but ending up with errors.
Import request cannot be processed due to one of the following reasons: Clone URL is incorrect. Credentials are incorrect. Clone URL points to an empty repository.
How to proceed further?
https://{useraccount}.visualstudio.com
– PatrickLu-MSFT