In a large skillet, saute the onion in olive oil on medium-low heat for about 7 minutes. Add mushrooms, increase the heat to medium-high and cook them for 10-15 minutes. You’ll need to wait until the water evaporates and then keep cooking the mushrooms until they brown nicely. Add garlic, stir, and transfer the mushrooms into the mixing bowl. Let them cool down.