How to change the direction of a command block chain? 1.15.2+

Command blocks don't forward a redstone signal. You could either put the repeater at the block that you put the button on, or, even better, avoid using so much redstone with command blocks in general.
If you want delays, you can use this: How to delay or slowly loop commands?
If you want conditions, like with comparators, you can use conditional command blocks (or usually just /execute).
You don't even really need any command blocks at all, if you have access to the server files, because functions in a datapack can completely replace them and have additional advantages.