How to properly force https and www on multisite with Apache HTAccess

First one of your variations is the cleanest.
You can test your htaccess rewrite rules here:
https://htaccess.madewithlove.be/

Important thing about R=301, this means the redirection is permanent.