Wash, cut the potatoes in half, and boil them either in a stovetop pot, pressure cooker, or Instant Pot. Potatoes should be soft enough for a knife or fork to pierce through but not overcooked or mashed up.
For Instant pot cooking, Take the halved potatoes in a steel vessel, put it on a tall trivet in the Instant pot with 1.5 cups of water below the vessel, and cook on manual mode for 5 mins on high pressure. Once done, do a quick pressure release after 5 mins.
For the stovetop pressure cooker, cook the potatoes in the pressure cooker on medium heat for 3 whistles.
If you are cooking in simply a pot of water on the stove, just boil them until they are soft enough for a knife or fork to pierce through but not mashed up.
Cool the boiled potatoes, peel them, and cut them into cubes.
Cut the onions into quarters and then slice them into thin slices. Slit the green chilies into thin long strips.
Heat oil in a frypan and then add all the tempering ingredients. Saute for a few seconds to a minute until they are slightly brown and then add green chilli strips.
Saute for a few more seconds and then add sliced onions along with a little salt. Saute the onions until they are slightly softened and translucent.
Now add ginger garlic paste and mix well.
After a minute add the boiled, peeled, and cubed potatoes, salt to taste and mix well.
Saute for around 5 to 6 minutes until everything comes together, taste test, and add salt if required.
Garnish with cilantro and serve hot with rice.