First of all, it's a bit silly to even discuss such topic since we're not historians. Relying on sources such as Wikipedia is worthless. Same applies on the official historical views of such countries (especially the ones that derived from former Yugoslavia) because their primary task is to prove their own "original", "unique", "independent"... origin or background, therefore the identity. Historians who back such theories I'd call regime historians. They existed in every regime, in Balkans as well as anywhere else in the world.
So, let's focus on my fellows and countrymen from Balkans or former Yugoslavia region.
I would prefer to avoid answering the question, have Serbs and Croats arrived together to Balkans, are they same of different... Those questions should be answered by independent historians (people, not influenced by political views) and supported by archeological and historical founding (e.g. https://en.wikipedia.org/wiki/Vin%C4%8Da_culture, https://en.wikipedia.org/wiki/Miroslav_Gospel) I'd like to stress, making this comment my intention is not to offend anybody in any way. I am hoping to contribute to general understanding of the topic.
First, I'd like to ignore political maps, present and past. This is also applicable to other countries and nations. So, talking about Serbia, Croatia, Germany, Italy, etc. I won't assume present borders or where they should be. Instead, I'll try to focus on ethnicity, culture (dance, music, national costumes...), language, etc.
I will bravely state that people of now days Croatia, Bosnia, Serbia, Montenegro and mostly North Macedonia are same and speak same language, often with different dialects. Apart of North Macedonia, they understand each other 100% even though they speak in different dialects (of the same language) and often use different words that describe same thing but again those are synonyms of the same language. I have a lot of friends from other Slavic countries, mostly from Slovakia and Poland but from Czechia and Russia as well. Similarity between our languages is so obvious, even though we're living apart for many centuries, one can tell, once upon a time it was one language.
Surely, difference in DNA, language, religion and culture between Serbs and Croats and/or Bosniaks (Bosnian muslims) does exist and it's created through the enforced influence of the occupiers through out the history. Croats have been under the rule of Catholic states such as Venetians, Austro-Hungary, which obviously influenced peoples religion there. Their red/white "checkerboard" exists on Coat of arms of the Czech Republic, Poland uses red/white colours (same as Croats) and white eagle same as Serbs... National costumes of Serbia, Slovakia, Croatia have very similar (often same) colours, pieces of clothing, decorations... So, all that documents great similarities but not being identical. Looking at surnames or origin of some notable people in Croatia, it is obvious that they are not Croatians, for example: Ljudevit Gaj (Ludwig Gay) – obviously a German, Slavoljub Eduard Penkala (born as Eduard Pękała-Duch/Polish), Nikola Tesla - Serbian, Boris Apsen - Russian… This was an example of migrations through the history that would influence the culture, ethnicity, language, etc of a nation.
By the same token, Bosnia, Serbia, Montenegro and Macedonia were under Ottoman Turkish rule which influenced local population with their cuisine, religion, language, etc. So, Croats and Serbs have differences but they are still same people. Like two brothers, educated in different (opposite) schools and married into families with different custom but still very much alike each other in every sense. The territory these people live on, the intersection between Europe and Middle East, being a subject of constant conquest of different foreign powers, is like cursed and destined to suffer all above mentioned foreign influences that have shaped present differences among the local population. We have in our language some foreign words, not many-rather as leftovers which fall into groups of Germanisms, Turkisms… and such influences, understood and taken as negative for our people, are Germanisation, Bulgarization (applied on Macedonia and eastern part of Serbia), Hungarisation...
To my understanding, Germans and Austrians are same people. How? They speak same language with different dialects. That’s normal and often present everywhere. Real name of Austria is Österreich, meaning Eastern kingdom. Kingdom of what? Germany, of course. By the same logic, it is not acceptable to call Slovakia – Upper Hungary, just because it was ruled by Hungary for a long time. Population that always lived there are of Slavic origin, speaking Slovak language. Hungarian language and culture does not belong to Slavic ethnicity. As one german, with humiliating and ironical tone, expressing his own happines, told me:“Slavs are the biggest white race but most divided.“, I believe us Slavs should stop being influenced by foreign powers (economical, cultural, religious, military) and start seeing each other as same. If catholics and protestants in Germany or Britain can live normally together, why we can’t? If we could achieve that (without any brainwash such as communist ideology, forceful atheism, etc.), it would remove a potential for any future wars between us, such as Serbs/Croats, Russians/Ukrainans or Polish.
@Walter. I couldn't agree more with your comment but who am I to tell to others what is their identity and how should they feel? As I said, I am not a historian and the sources are often biased... I can analyze only facts that everyone from that region is aware of but often have been interpreted differently.