Well that's simply not true. There's lots of shared history ( https://en.wikipedia.org/wiki/Cognate ), common ancestor-words, and of course modern loans like "lacquer" and "crimson", but the "parents" of Sanskrit and Germanic languages diverged before Sanskrit appeared around 1500 BCE (earliest assumed date of Vedic Sanskrit, same time as Mycenaean Greek), there's lots of language trees online that make this clearer
https://jacklynch.net/language.html
https://learn.kids4alll.eu/sites/default/files/unit/oer/doc/...
https://www.theguardian.com/education/gallery/2015/jan/23/a-... is a beautiful one