I am exploring civicrm and am trying to set up a prod, staging, dev environment where by I create and test custom fields in dev and deploy them to prod. What is the best way to do this?

I cam using the Drupal 8 version which has a config export feature, I am wondering if civicrm has something similar. Thanks