{#if repositories.length === 0 && loading.repositories === false}
No repositories configured for your Git Application.
Configure it now
{:else}
{#if loading.repositories}
Loading repositories...
{:else}
Please select a repository
{#each repositories as repository}
{repository.name}
{/each}
{/if}
{#if loading.branches}
Loading branches...
{:else}
{#if !selected.repository}
Select a repository first
{:else}
Please select a branch
{/if} {#each branches as branch}
{branch.name}
{/each}
{/if}
Save
{/if}