# Introduction <div class="alert alert-warning" role="alert"> <p>๐งโ๐ป New to Git or LabEx? We recommend starting with the <b><a style="color: unset;text-decoration: underline;" href="https://labex.io/courses/quick-start-with-git" target="_blank">Quick Start with Git</a></b> course.</p> </div> When working with Git, it's common to create and switch to detached branches. These branches are not associated with any specific branch and are usually used for testing or experimentation. However, over time, these branches can accumulate and clutter your repository. In this lab, you will learn how to delete all detached branches in your Git repository.
Click the virtual machine below to start practicing