Rename Remote Branch

# 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> In Git, a branch is a lightweight movable pointer to a commit. Renaming a branch is a common task in Git. However, renaming a branch both locally and on the remote can be a bit tricky. In this lab, you will learn how to rename a remote branch in Git.

|60 : 00

Click the virtual machine below to start practicing