# 5.Delete Git Branch

### Step 1: Connect to the Storage Server

```
ssh natasha@ststor01
# Password: Bl@kW
```

### Step 2: Navigate to the Repository
```
cd /usr/src/kodekloudrepos/blog
```

### Step 3: Delete the Local Branch

```
# Check Git Status
git status

# To add an exception for this directory, call:
git config --global --add safe.directory /usr/src/kodekloudrepos/blog

# Checkout to master
sudo git checkout master

# Delete the local branch
sudo git branch -d xfusioncorp_blog
```

---

### **Resources & Next Steps**

*   **📦 Full Code Repository:** [KodeKloud Learning Labs](https://github.com/thukhakyawe/100-Days-Of-DevOps-KodeKloud-Challenges-Solutions)
*   **📖 More Deep Dives:** [Whispering Cloud Insights](https://thukhakyawe.hashnode.dev/) - Read other technical articles
*   **💬 Join Discussion:** [DEV Community](https://dev.to/thukhakyawe_cloud) - Share your thoughts and questions
*   **💼 Let's Connect:** [Linkedin](www.linkedin.com/in/thukhakyawe/) - I'd love to connect with you

---


#### **Credits**
*   **All labs are from:** [KodeKloud](https://kodekloud.com/)
*   **Thanks for providing them.**

---
