You have a repository on GitHub and need to clone it into Azure DevOps. Which procedure should you use to import the repository into Azure DevOps?
Choose an answer
Tap an option to check your answer.
Correct answer: From Import a Git repository, click Import..
Why this is the answer
To import a repository from GitHub into Azure DevOps, the correct procedure is to use the "Import a Git repository" feature. This option is specifically designed for migrating existing Git repositories from external sources like GitHub into Azure Repos. You navigate to Repos in your Azure DevOps project, select "Import repository," paste the GitHub repository's clone URL, and then click "Import." Creating a pull request is used for proposing changes within an existing repository, not for importing a new one. Creating a webhook is for triggering actions based on events in a repository, not for initial import. Creating a service connection for GitHub is used for integrating Azure DevOps with GitHub for CI/CD pipelines or other advanced scenarios, but not for the initial act of importing a repository. Creating a personal access token in Azure DevOps is for authenticating API access to Azure DevOps itself, not for importing external repositories.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed