It would be recommendable to open a German bank account because if you are going to rent a flat or if you are going to apply for insurance you have to provide the bank details so that they would be able to debit the money because it is not possible to pay in cash. If you have a credit card, of course, you can also use it but cash cards are more common.