If you want to continue your studies in Germany, you have to start a visa procedure through the German embassy in Rome. What your friends mean is the opportunity to stay in Germany due to work. If you had a permanent EU residence in Italy, soggiornante di lungo periodo - CE oder UE" you should apply to the Immigration Office for ยง 38a AufenthG. If you then found a job, you could stay in Germany.