files/gitlab-cookbooks/gitlab/templates/default/gitconfig-system.erb (4 lines of code) (raw):

<% @gitconfig.each do |key, value| %> [<%= key %>] <%= value.join("\n") %> <% end %>