Get the Current Branch Name

# 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 important to know which branch you're currently on. This information can be useful when collaborating with others or when managing multiple branches in your own repository.

|60 : 00

Click the virtual machine below to start practicing