Restore a deleted branch from Azure DevOps using it's SDK
Before starting, you need your git client configured. var credentials = new VssBasicCredential(userName: string.Empty, password: this.config.Key); this.vssConnection = new VssConnection(new Uri(this.config.BaseUrl), credentials); if (!string.IsNullOrWhiteSpace(this.config.Key)) { this.gitClient = this.vssConnection.GetClient …