If you are PRing to Discourse core, then again, exact config of local install not critical (just make sure you are on latest), because code contribution is a very controlled process anyway, especially with test cases., so a little variation in settings or content is unlikely to be an issue.
Normally, if working on joint contributions, you’d fork to your org’s repo and work on there before PRing?