Heat the olive oil in a large skillet over medium-high heat. Add the garlic and cook until fragrant. Add the spinach and cook, stirring occasionally, for about 4 minutes until the leaves start to wilt.
Working 1 shell at a time, generously fill each pasta shell with the spinach and ricotta mixture. Carefully place each shell in the baking dish, filling side up.