How can source code be managed for attended robots to maintain version control, promotion of code from Development to UAT to Production?

Source code can be managed through integration with a version control tool or use Orchestrator-based version control for packages. The promotion of code is really driven by your operating model - it will be different for citizen developers versus CoE developers.