# Switch

The `switch` command allows you to change the current branch after opening a repository.

<figure><img src="https://3850210453-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LiuZvEx90WVx-LnSKG_%2Fuploads%2FU5u8taYyhNIxmrbzVS3z%2Fimage.png?alt=media&#x26;token=e53ceb09-c061-46d2-9b24-d992834616e9" alt=""><figcaption></figcaption></figure>
