Heat oil in a pot over medium high heat. Add cumin and onions and cook, stirring occasionally, until onions are almost browned, 7 minutes.
Add ginger and cook 1 minute more.
Add tomatoes, beans, tomato paste, thyme, salt and pepper. Stir to mix, reduce heat to low, cover and let flavors blend, 13 minutes. You can prepare until this step and keep in the fridge up to 3 days.
Remove cover and reduce liquid on high heat, stirring frequently, until beans are covered by thick sauce, 1-2 minutes. Adjust seasonings.
Stir half of the cilantro or parsley into the beans, serve sprinkled with green onion and rest of herbs. Serve chili on the side, so that everone can add heat as they like.