<%= 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 %><%
}
} %>
<% } %>
git clone https://github.com/<%= it.repo.owner %>/<%= it.repo.name %>.git
git clone git@github.com:<%= it.repo.owner %>/<%= it.repo.name %>.git
<%~ it.body %>