In a saucepan over medium-high heat, soften the onion and garlic in the oil. Add the ground beef and oregano and cook, breaking the meat up with a wooden spoon. Season with salt and pepper. Add the spinach and cook until it has started to wilt. Remove from the heat and let cool. Add the cheese and egg. Stir to combine and adjust the seasoning.