Golf cart #1 would not tram and employee stopped to give his golf cart to the individual that had golf cart #1. The mechanics stopped at the same time and was visually inspecting it when they observed mud and water on wiring. The cart stared tramming on its own and caught employee on the left leg.