OTOH, there is definitely brand cachet/snobbery. A Gibson Les Paul will almost always get more respect than a Les Paul copy from another brand.
What I'm less aware of, except from perhaps a few niche guitar makers I know, is brand snobbery of the form of, "Well, Fender are better than Gibson and Gretsch because blah", or vice versa (people do tend to be a bit snobby about Ibanez though, for some reason).
Most people I know buy premium guitars (and that's a loaded term in itself) for the sound rather than the brand... except that, as I've already suggested, they will often prefer a well-known brand over a "knock-off" or lower end brand: so "serious" musicians will generally buy Fender rather than Squire (low end brand owned by Fender).
Different genres of music can lead to different brand preferences. More "classic" music genres tend to favour Gibson, Fender, Gretsch, Rickenbacker, and so on, whereas newer or more experimental genres tend to favour Ibanez, ESP, PRS, Jackson, etc. This is more of an observation than a hard and fast rule though, and there will always be exceptions, like the Fender Jaguar which has been a firm favourite of some more alternative bands since the late 80s.
Hopefully that rather rambling answer makes some sense.
For example, Fenders, especially models like the Telecaster, have a "twangier", more treble-forward tone (they're used a lot in country music), where as a Gibson model, say the SG, would have a "meatier" more bass-forward tone and generally longer sustain (used more in rock, e.g., AC/DC is a good example).
On a Fender Telecaster, Stratocaster, or Jazzmaster, it's longer than on, say, a Gibson Les Paul or ES-335. This means there's more string tension and "snap" on those Fenders, which some players prefer. J Mascis of Dinosaur Jr (who plays a Fender Jazzmaster) says, "I like to be at war with the guitar." It also makes the guitar a little harder to play and a bit less forgiving when you make a mistake.
Nowadays modern electric guitars are much more versatile. They generally can emulate the sound of the classics easily, but they play differently, they lack their slow, thick necks, their poor tuning, their noisy pickups... :)
BUT a lot of guitarists also forget is sound is as good as the weakest link in the sound chain.
A $10.000 electric guitar will not sound good on a shitty amp.