Neither Germany nor Turkey supports Ukraine. Germany and Turkey are in the same camp since 1900. Every German administration - started with Kaiser Wilhelm till Adolf Hitler and Willy Brandt till Helmut Köhl and Angela Merkel - supported Turkey in every way (EU, NATO etc). Merkel alone saved Erdogan from harsh EU-sanctions numerous times. The recent German weapon embargos were forced by European pressure, the public opinion and the PKK-lobby.
There are 3 blocs now in the world and you see those blocs in every case, also the Ukrainian conflict.
Bloc 1.- US and UK and their allies and there hemisphere mostly from WO II: Japan, Canada, South-Korea, Australia, India, France, Greece, Poland, Netherlands, Belgium, Ireland, Portugal, Saudi Arabia, UAE, Sweden, Denmark, Norway, Finland, The Baltics, Israel, Taiwan, Philipines, Indonesia, Brazil, Thailand, Jordan, Kuwait, Paraguay, Chili, South-Africa, Colombia, Morocco, Georgia.
Bloc 2.- Russia-China gang with their hemisphere Iran, Syria, Egypt, Belarus, Afghanistan, Kazachstan, Armenia, Mongolia, North-Korea, Myanmar, Venezuela, Bolivia, Ecuador, Sudan, Vietnam, Algeria, Argentina, Uruguay, Turkmenistan, Uzbekistan, Cuba, Tadzjikistan, Angola.
Bloc 3.- The Turkish-German alliance. This is the smallest bloc, but also the most neutral bloc. It started in 1900 with a German-Turkish friendship and it contains allied countries from the First and Second World Wars (most friendships are from Nazi/Ottoman hemisphere). It includes Turkey, Germany, Austria, Hungary, Italy, Spain, Bulgaria, Romania, Iraq, Azerbaijcan, Qatar, Malaysia, Ethiopia, Pakistan, Libya, Tunesia, Bangladesh, Somalia.
You can see the patterns in the international arena.