Branding first then marketing. Why? Because branding is defining what you brand is all about. And there many aspects to a brand. Too long to go into in more detail. But suffice to say, branding sometimes can start with a logo and everything can be built from there.
Once you’ve done your branding processes, then marketing can come into play. Marketing has to do with making your brand visible through various promotion strategies.
You need both