az repos update
Update the Git repository. Azure CLI extensions reference
3 options Its page in the Azure CLI extensions reference
Options
--default-branchDefault branch to be set for the repository.--nameNew name for the repository.--repositoryName or ID of the repository.