Add the core section to the gitconfig template.