Should I pursue physics or computer science?
We cannot tell you what to do with your life, that's for you to decide.
However, note that there are mixed degrees and many programs for either Physics or Computer Science will require you to choose a minor subject, which then would be easy picking for you. I'd recommend to start either with a mixed variant or with one as the major and the other as the minor. If your university has both as fully fledged degrees, it should be easy to switch if you notice during your studies you like the minor more.
In addition, in most Physics degrees you get some basic programming exposure as well. It is typically not thaaat hard to switch and do the master in the other topic. I know quite a few Physicists that now work as software engineers. The other way around seems a bit more rare, but also possible (there is less automatic exposure however).
If you are really ambitious you can also try to study both, given that there is some overlap, that can arguably be easier than say computer science and History.
German examples for mixed degrees (from a quick-search, you would need to check what TUM specifically has to offer in that fashion):

https://www.zbh.uni-hamburg.de/studium/informationen-fuer-schueler/was-ist-physinf.html
https://www.merkur.de/leben/karriere/neuer-bachelor-kombiniert-informatik-mathe-und-physik-zr-12539261.html