To find the length of each side of the square garden, we can use the given total cost and the charge per square meter.
Let's denote the length of each side of the square garden as \( s \). The area of the square garden can be calculated as:
\[ \text{Area} = s^2 \]
The charge for cleaning the garden is given as $0.50 per square meter. Therefore, the total cost can be expressed as:
\[ \text{Total Cost} = \text{Area} \times \text{Charge per square meter} \]
Substituting the area formula into the equation gives:
\[ 50 = s^2 \times 0.50 \]
To isolate \( s^2 \), we can divide both sides by 0.50:
\[ 50 \div 0.50 = s^2 \]
Calculating this gives:
\[ 100 = s^2 \]
Now, to find \( s \), we take the square root of both sides:
\[ s = \sqrt{100} = 10 \]
So, the length of each side of the garden is 10 meters.
Thus, the answer is:
10 meters.