code: @RequestMapping(value = "branches/{branchId}/template/instance", method = RequestMethod.GET)
      public TemplateInstance getTemplateInstance(@PathVariable ID branchId) {
          return branchTemplateService.getTemplateInstance(branchId)
                  .orElseThrow(() -> new BranchNotTemplateInstanceException(branchId));
      }
docs: Gets the template instance for a branch