<%= it.repo.owner %>/<%= it.repo.name %>
<%= it.branch %>
<% if (it.path) { %>
(top)
<% const pathParts = it.path.split('/').filter(p => p); let currentPath = ''; for (let i = 0; i < pathParts.length; i++) { const part = pathParts[i]; currentPath += (currentPath ? '/' : '') + part; const isLast = i === pathParts.length - 1; if (isLast) { %>/<%= part %><% } else { %>/
<%= part %>
<% } } %>
<% } %>
<%~ it.body %>