Meanwhile, heat oil in a large skillet over medium-high heat. Add beef and onion; cook, stirring and crumbling with a wooden spoon, until the beef is browned, 6 to 8 minutes. Add garlic and cook for another minute. Add tomatoes, wine, basil, oregano, salt and pepper; bring to a simmer. Reduce heat to medium-low and cook, stirring occasionally, until thickened, about 10 minutes.