Assuming that you are an American with little or no prior language learning experience, you may want to adjust your expectations.
It seems like you will have ~75 hours (5 months at 0.5 hours per day) of study by the time you leave. That should get you to a basic beginner level (CEFR A1) -- maybe A2 is you are really good. 5 months of full time study might get you to a minimal level of professional competence (CEFR B2).
https://en.wikipedia.org/wiki/Common_European_Framework_of_R...
Of course, if you speak a language that is linguistically closer to German and/or if you have learned foreign languages before, then the expected time to reach a level can be shortened.
Regardless, I encourage you to keep your expectations reasonable.
If you have any questions, I will be glad to answer. This is an area in which I have quite a bit of theoretical and practical knowledge.