To expand an item in a tree, click on the small triangle at the left of it, or focus it and press the + key or the right arrow.
To collapse the item, click the small triangle again or press the - key or the left arrow.