Heat oil over medium-high heat. Add the onion, jalapeño, green chilis with their juice and sauté until tender. Add the garlic and sauté…