By now you should be seeing the onion tops die and the garlic tops yellowing from the bottom up. Get both those crops out of the garden soon. Do not wash either. In both cases the bulbs should be allowed to cure for storage. Spread both crops out in a shady dry location such as the garage and the tops will wither and the bulbs will make skins. Once the tops are withered, trim the roots and the tops and store the bulbs away. Our onions are not long term keepers, but they should last several months. The garlic will last into the winter.
For a garlic crop next season, store away some of the smaller garlic bulbs, or entire bulbs. This will be your planting stock for this fall. Put these into a paper bag, label them as garlic planting stock so you don't eat them. Then in October, we will use our planting stock for a new crop. The great thing about garlic, once you purchase planting stock you can generally grow a crop and your own planting stock perpetually into the future.
With the rain, the garden will respond nicely to another feeding of nitrogen. Sprinkle around some blood meal and work it into the soil.