You generally want to have the vmp of the solar panels 10 20 higher than the battery voltage.
How much solar panel to charge 4 batteries in series.
Then add 10 of the charging time.
Charging time 50 ah 1 25 amps 10 of ct ave.
A single solar panel of 280 watts will do the work for you.
You should use a charge controller to protect the equipment.
If you have a 50 volt and 10 amp current coming from your solar panels but only want 15 volts the pnw charge controller will send a 15 volt 10 amp current into your battery.
If you connect the four 6 volt batteries in series then its like one 24 volt battery.
Then divide the battery capacity which is 50 ah by the ampere per hour rating of the solar panel which is 1 25 amps which will be the charging time.
Charging time 40 hours 10 of 40.
So you could use a solar module that has a vmp of 26 28v.
There are other solar panels with various power ratings you can install to charge your batteries such as 100 watts 150 watts 235 watts 250 watts and many more.