The association of the Swastika with far-right, anti-Semitic, and völkisch (A populist racial-nationalist movement) groups in Germany predates the Nazi party, having been utilized at the by figures like Adolf Lanz, a turn of the century racist who published a magazine called Ostra and also had an obsession with the Templars, founding the "New Templar Order", who used the symbol along with with other signs that were considered "mystical". And Lanz himself was probably influenced in its use by Guido List, an early writer on the supposed supremacy of the Aryan Race. According to him, the Swastika was the symbol of the "Unconquerable Germanic Hero" and "The Strong One from Above". These early users were certainly aware of its Hindu usage, but to them the symbol was an Aryan one (one which Aryans brought to India presumably). There may have been earlier users within the movement, but certainly by the early 1900s, it had come to have strong association with far-right, racial politics in Germany.
Contemporary to the Nazi Party, the Deutschvölkischer Schutz und Trutzbund, founded in 1919 as a way to collect together many of the small völkisch under one umbrella, adopted the swastika as its symbol, as the did Thule Society, a völkisch/occultist group that was influential on the early Nazi party, and some of the Freikorps during that period too.
So when the Hitler chose the swastika as the party symbol in mid-1920, he hardly did so at random. It had already become strongly associated with the völkisch movement in Germany, and as the party was still small and trying to grow in membership, it was a clear way to tell people at least in the broad strokes what the party was about.
Hitler: 1889-1936 by Kershaw; The Coming of the Third Reich by Evans
They didn't use the Hindu swastika. There is a symbol that is sometimes called a swastika but also called a fylfot or angled cross that is essentially the same shape that was used in Norse, Germanic, and surrounding regions for centuries.
This image is of a fylfot/swastika carved into an 11th century church in Great Canfield in England, as described in The Reliquary and Illustrated Archæologist: A Quarterly Journal and Review.
The Runic Hall in the Danish Old-Northern Museum described an angled cross carved alongside runes.
A bit of googling for "fylfot" or "Norse swastika" will turn up hundreds of other images of a swastika-like shape used by Germanic peoples for centuries.
So, nothing to do with Hinduism. Just a coincidentally similar symbol from their own heritage.