You can find out if you need a visa to enter Germany by checking out the Staatenliste zur Visumpflicht (list of countries for which a visa is required) issued by the Foreign Office.
Please apply for your visa in a timely manner with the responsible German representatives, as it may take up to two or three months to process your application. Universität Hamburg strongly urges applicants to apply for a student applicant visa (PDF) immediately following the application deadline by submitting confirmation that their application for admission to university has been received. This ensures that you can enter Germany in time to commence studies if you are accepted to a program.
Important: Please note that a three-month Schengen Visa ("tourist visa") cannot be extended for the purposes of university study or research in Germany.