The correct answer to this open question is the following.
Nationalism in Italy was born from the desire of people to establish one solid identity that unified people through the same traditions, culture, and customs. Guizzepe Massini, in 1830, was the leading force behind Italian nationalistic ideas.
Nationalism in Germany was born on the idea of the pride and strength many people had from their barbaric ancestors and the idea of being more powerful in becoming one state. Pan-Germanism started to increase after the Napoleonic Wars. It was the idea of the unification of the Germanic territories to eliminate the possibility of being invaded again.