updated sync commands
Fixes Copilot review comments: - Added error checking on package-manager calls - Verified git availability post-install - Scripts now fail fast on installer errors