public async Task CreateBranchAsync(string projectId, BranchDto branch)
        {
            await _commonValidator.ProjectHaveToExists(projectId);

            _commonValidator.BranchNameShouldBeSpecified(branch.Name);
            await _commonValidator.BranchShouldNotExists(projectId, branch.Name);

            if (!IsYamlFileCorrect(branch.MkDocsYaml))
            {
                throw new MkDocsFileIsIncorrectException($"MkDocs file is empty or has incorrect format.");
            }

            await _fileSystemService.CreateFolderAsync(projectId, branch.Name);

            await _fileSystemService.WriteTextAsync(projectId, branch.Name, "mkdocs.yml", branch.MkDocsYaml);
        }