Guinea pigs can eat both turnips and turnip greens but they are both high in oxalates so should not be fed in large quantities or too often.
Below is the nutritional value per 100g of turnips
Below is the nutritional value per 100g of turnip greens