Combine the onions, garlic, ginger ale, sauerkraut with liquid, and pepper in a large pot; bring to a boil. Reduce heat to low and simmer another 7 to 10 minutes. Add the bratwurst and simmer until the sausages are cooked through, about 15 minutes. Drain, and serve with sauerkraut.