To add:
He doesn't currently stop you going out...
But all the texts, verbal abuse (because it is) and general hassle he's giving you is designed to make you think "oh, it's too much hassle to go out when he's like this every time, I'll stay at home for a quiet life" - and then he gets what he wanted in you staying home, or modifying what you wear to meet his standards of what's acceptable for you to wear in public, plus deniability "but I never said you couldn't go out/couldn't wear that...."
This is a very standard abuser move.
By sending text after text he's also trying to ensure that he's top of your mind constantly and you can't relax and enjoy your time out without him.
Agree with the people saying he's projecting his behaviours & thoughts, so is probably not trustworthy in those respects himself.
It may be (just(!)) an unhealthy repetition of a pattern he saw/picked up from childhood, so it might be something he could work with and move away from if he was willing (probably with professional help).
But if he's not willing, or feels entitled to these opinions and levels of control, then you likely have some hard thinking to do about your future.
Depending on whether you have any fears that it might escalate to physical violence, if you feel safe to:
As a start, I would be changing the settings on all my messaging apps to remove the "read" notifications, last online etc etc. I would be removing any location settings that might mean he could track where I was.
I would tell him about the messaging changes (not the location ones, as he shouldn't be tracking this anyway!), and making it clear that his insecurity and jealousy is his own problem that he needs to manage and possibly get help for - relationships are built on trust, he has no reason not to trust you, and you're not willing to enable his unreasonable behaviour.
I'd also tell him that I wouldn't be responding to passive-aggressive or just plain aggressive messages while I'm out, and that this is part of trust.
i would also change all the pass codes etc to my phone/apps/laptop etc, so that he can't access your things and make changes. And I would tell him that it's completely unacceptable for him to be accessing your devices and he's not to do it in future.
His responses to all of the above would help me determine whether I thought there was any chance of a future in the relationship.