If you want to do the whole Bachelor- or Master studies in Germany you need to apply the same way as the German students but at most universities the places for international students are very rare. There is no central office for students applications in Germany, therefore it is necessary to apply at the university you want to study. This can be quite confusing because there are many different application procedures depending on university and study program. According to this, one has to achieve different admission requirements, keep to different deadlines and submit different documents.
Therefore it is the first priority to check the webpage from the university or to call the responsible councelor to get the most important information. Which requirements have to be fulfilled, which specialities are there for international students and which documents need to be completed. In this text there can be given a general abstract about the application process but single universities or subjects can differ from that.