You can check your visa requirements here: https://www.southafricavisa.com/.
German citizens do not need a visa to enter South Africa for short courses.
You can check your visa requirements for Germany here: https://www.germany-visa.org/.
We recommend that you start your visa application process in good time in the case you are planning to attend a course in Germany. The Embassies typically have an electronic system for booking appointments, and the queues can be very long.
Generally, participants have to fund the visa themselves. Visa costs may be reimbursed only when this has been agreed with the coordinating team beforehand