The chocolate cake that is made with coconut and pecans doesn't have ties to Germany at all. According to NPR, the name German chocolate cake, comes from Sam German, who created a type of baking chocolate for Baker's. Hence, the company named it 'German's Chocolate' which was then shortened to 'German Chocolate' over the years.
Photo credits: Google images