The article considers the historical aspect of educating the national identity of the Ukrainian people. The views of scholars on the concept of «national identity», its features, significance in the socio-cultural and pedagogical context. The importance of Ukrainian folk art, its huge potential for educating the national identity of the younger generation is substantiated. The role of national song folklore in patriotic education of students, features of musical language (coded codes), which formed the «national musical genotype» as a set of hereditary musical structures and means passed down through the generations, forming its unique mentality and national character. It is determined that the song, influencing the emotional – sensory sphere of man, causes empathic experience of his artistic image. At the same time, there is a process of «inner intonation», ie reflexive, unconscious singing of the listener with the sounding work. Therefore, during individual classes of students in classes on «choral conducting», «voice» «future music teachers got acquainted with the peculiarities of Ukrainian folk culture», folk vocal music, educational influence of song folklore on the spiritual development of students, namely the education of patriots of our state. During the «Folk Singing Workshop» students had to record 5-10 songs of their region, learn about the peculiarities of the singing style of different regions of Ukraine, decipher their melodic coded codes and analyze the figurative content of the musical work. While studying the normative discipline «Theory and Methods of Music Education» students got acquainted with the features of musical folklore – the treasury of age-old traditions of the Ukrainian people, with types of folklore activities: folk epics (proverbs and sayings, fairy tales, legends, historical songs, etc.). At the same time, it is necessary to study folk songs, to continue the search for coded codes in the musical language of song folklore, which reported on the mentality, the characteristics of the national idea of the Ukrainian people. At the same time, it is necessary to study the peculiarities of the phenomenon of «national consciousness» and the ways of its development.