Team Services | TFS 2015 & TFS 2017
Remove unused Git repos from your team project when they are no longer needed.
You cannot remove a repo if it is the only Git repo in the Team Project. If you need to delete the only Git repo in a Team Project, create a new Git repo first, then delete the repo.
You must have Delete Repository permissions to delete a repo from a team project.
Delete a Git repo from the web
Select the settings icon in the web to bring up the team project administration page.
Select Version Control.
Select the Git repository to remove from the list shown and select the ... next to the name. Choose Delete Repository
Confirm the deletion of the repository by typing the repo's name and selecting Delete.