Explicit `git clone` master
diff --git a/utils/aws/userdata.sh b/utils/aws/userdata.sh
index 890606b76a0..5846fedb16f 100644
--- a/utils/aws/userdata.sh
+++ b/utils/aws/userdata.sh
@@ -7,7 +7,7 @@
 cd home/ubuntu
 if [ ! -d yolov5 ]; then
   echo "Running first-time script." # install dependencies, download COCO, pull Docker
-  git clone https://github.com/ultralytics/yolov5 && sudo chmod -R 777 yolov5
+  git clone https://github.com/ultralytics/yolov5 -b master && sudo chmod -R 777 yolov5
   cd yolov5
   bash data/scripts/get_coco.sh && echo "Data done." &
   sudo docker pull ultralytics/yolov5:latest && echo "Docker done." &



## 🛠️ PR Summary

<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>

### 🌟 Summary
Optimization of initial setup process for YOLOv5 on AWS.

### 📊 Key Changes
- Modified the cloning command for the YOLOv5 repository in the AWS user data script.
 
### 🎯 Purpose & Impact
- Ensures that the latest master branch is specifically cloned during initial AWS environment setup.
- Prevents potential issues from default branch changes or from cloning other branches unintentionally.
- Provides users with a more reliable and predictable setup experience when deploying YOLOv5 on AWS instances. 🚀