Help. Wired hit during dig

I have wired that were hit during a dig and I’m unable to get them back right. I have the main cable coming from inside the garage, and they are alll wired correctly. But there are 3 extra cables here all three with a white red and green wire inside. What are they for

@Handymanjoey - are you sure they’re for the sprinkler system? Can pictures of the controller and the wires in question be posted to help understand?