10 miles is totally do-able; but you want to do it right.
Figure out your route on a Saturday when traffic isn't bad and you aren't pressed for time; multiple Saturdays until you know how much time you need to plan for the commute.
Use your current bike until you have a better idea of what you like and don't like, whether it's the right size, etc.
Buy lights and safety gear and repair items now that you can transfer to your new bike later.
After you've done the commute enough times to make sure you're ready, THEN you buy a new bike and you can be confident in your choice. Wouldn't hurt to see what the bike shops near you are offering though, and see how they treat you.
Way too many people buy the bike first and then have regrets.
Tell us more about your existing bike and tires, and the type of roads/trails you'll be riding.