In any Automation Development it is always a good practice to create 3 sets of folders.
Each folder will have set of local/global rules defined by RPA Manager/Lead for any organization.
Development Copy- Shared : Will allow all RPA developers to deploy their code at the end of the task/day. Only Completed activities/Modules will post into Development copy by TFS/Sub-versioning or any configuration control management tool. This location all scripts will be deployed on daily basis and RPA manager will review and approve accordingly.
Running Copy - Pre-Prod - Shared : This is a shared location to all RPA development team. but always very cautious to make any modifications. it is a best practice to give only read control on this folder to all except configuration control manager.
Golden Copy - Prod - Not Shared : This is not a shared folder to any one. Only approved scripts will preset and not allowed to make any modification with out change request.
all production executable RPA scripts will preset in this location.
Team thoughts are welcome on this discussion.