So I was checking the general usage of commas with conjunctions, and saw the inconsistent case of "provided" or "provided that". Example:
You can drive a car provided that you have a valid license.
You may produce your own version of the form, provided that the content is the same as in the attached template.
Why does one of the sentences get a comma, and the other one doesn't?