Upvote:4
You won't get five years up front, I fear. But let's walk through the basics first:
To attend college in Germany, you need an Aufenthaltserlaubnis (residence permit). To get that, you will have to show evidence that you are able to support yourself. €10k per year should be enough, but plan for at least one year of delay. You won't have the possibility to study in Germany if you do not have sufficient funds.
When you are in Germany on your student visa, do the following:
Go to the local Meldebehörde with your rent contract. After your Anmeldung has been received, you'll get the Meldebescheinigung, which states where you are living. With that and your student card, go to some health care provider and ask for a student health care plan. After filing the paperwork, they will give you a paper that states that you have now a health insurance with them. With all the papers you got before, and a bank statement showing that you have sufficient funds for two years, you can finally go to the Ausländerbehörde. They will then process your request and after some weeks, you should have a residence permit in your mail.
After just two years, you will have to renew that residence permit. For renewal, you will have to show all papers mentioned before, and furthermore prove that you made good progress in your studies during the last two years.
I wish you a pleasant stay in Germany, and good luck with your studies.