Compared to Italy, transport in Germany is quite expensive, even tickets for regional trains. Therefore, an extensive carsharing network has developed with which university cities are well connected: https://www.blablacar.de/
An alternative is also Flixbus which offers bus trips throughout Europe.
If you prefer travelling by train, you should buy a so-called My BahnCard. The My BahnCard 50 is available for all persons under the age of 27 from 79.90 euros, the My BahnCard 25 from 39.90 euros. You get a 50% and 25% discount on the tickets respectively. In addition, Deutsche Bahn often has low-cost offers for early bookers that can be combined with the BahnCard. For people aged 27 and over, there is the ‘classic’ BahnCard, which is more expensive.
There is also the Deutschland-Ticket for 63 euros. With this ticket, you can use all means of public transport in Germany, including buses, regional trains, trams, underground trains and suburban trains. As with the Bahncards, this is a subscription model. The D-Ticket is automatically renewed on the 10th of each month.
Many federal states also offer a cheaper version of the Deutschland-Ticket for students in the form of the Deutschlandsemesterticket. More detailed information on the offers for students can be obtained from the respective universities.
To travel within the Province of Bolzano, you can use the Südtirolmobil U26 Pass (formerly abo+). It costs €153 and is valid for one year. You can apply for the pass up until the day before your 26th birthday. It entitles you to travel on regional trains as far as Trento, but not on long-distance trains (ICE/EC) . To use the abo+ on the Brenner–Innsbruck and San Candido–Lienz routes, you must activate additional paid services. A monthly pass is also available for €21. This ticket may be of interest to anyone staying in South Tyrol only during the summer or for an internship.