When you build the garage another good option,if you dont need the storage , is a truss roof.
It is faster ,less labor cost and the beauty is the NO posts in the way when you open your car door in the garage.
If you are going to install a beam to carry the second floor try to offset where the post ends up so you dont end up with this issue.
Welcome and good luck!!