I have existing code on local PC in Visual Studio that I want to Import to the Azure Repos project. I have already created the Project in Azure DevOps. I have used Team Expl
For Git
For manual import you can use commands like mentioned here
For TFVC
Reference here
Update 1:
Note: The images are obtained from the old UI. Now the AzureDevOps UI is changed,but the process is quite similar