export function getBranchUrl(repoUrl: string, branch: string): string { const base = repoUrl.replace(/\.git$/, '').replace(/\/$/, '') return `${base}/tree/${branch}` }