Soak diced potatoes in salt water. After you dice the potato, put it in a bowl of water with a tablespoon of salt. Let it soak for 2 minutes, while you chop and dice your other ingredients. This will remove some of the starch from the potatoes and prevent oxidation (or the browning of the potatoes). Don’t soak it for too long to avoid softening the potatoes. Drain after 2 minutes.
Start cooking the potatoes. Heat up your pan under medium fire, and add the cooking oil. Saute the garlic and onions, until onions turn translucent. Add the potatoes, salt and ground black pepper. Constantly stir to make sure the browning is even in all parts of the potatoes. Cook it for 3 to 5 minutes, depending on the size of the potato cut.
Add the corned beef, and mix it well with the potatoes. There will be juice coming out, so let it simmer and reduce for a minute or two, while constantly mixing. During this part, you can also add chilis or cayenne pepper if you like it spicy. Mix it well.
Turn off the heat, and transfer it to a serving dish.
You now have your Corned Beef Hash! Serve and enjoy!