All the banks have generic or universal branch codes that can be used no matter what branch a bank account is held or opened.
Below is a list of some of the main banks in South Africa:
Standard Bank - 051 001
SA Post Bank (Post Office) - 460 005
Nedbank - 198 765
Investec Private Bank - 580 105
FNB - 254 005
Capitec Bank - 470 010
Bidvest Bank - 462 005
Bank of Athens - 410 506
ABSA Bank - 632 005