Borax for natural hair, as it is alkaline (basic), while vinegar or citric acid is acidic and could therefore be too aggressive. Furthermore, borax has a disinfectant effect and and some manufacturers explicitly warn against using citric acid.
As for synthetic brushes, I first use dishwashing detergent and then baking powder.