In a large sauté pan, brown the onions and garlic in 1 tbsp oil.
Put the beef in a large bowl and sprinkle with the flour. Stir to coat.
Remove the onion mixture from the heat, transfer to a bowl and place the beef into the same pan with the remaining 1 tbsp oil. Brown the beef for 2 minutes, stirring, to seal in the flavours.