Heat up the pan.
Add Clarified butter/ghee.
Now add the whole garam masala and let it pop for a few seconds.
Add sliced onion. Fry the onion until it changes color.
Add salt during frying the onion.
Now add ginger garlic paste and saute for a few minutes.
Add fresh green peas (matar) and mix well.
As the peas starting frying and change the color instantly pour water.
Cover the pan and cook for 5 minutes to soften the peas.
Now add soak rice and give it a good mix.
Adjust the salt at this level.
Cover the pan and cook for 20 minutes.
Initially cook on high heat for 5 minutes then turn the heat to medium to low until the rice get ready.