It is recommended to open a German bank account. You can also use a credit card if you have one but cash cards are more common.  you want to apply for insurance or if you are going to rent a flat then you have to provide the bank details by which they would be able to debit the money because paying it in cash is not possible