[[git command]] that switches you to a different branch of the project. [^1]
Create and switch to a new branch:
```sh
git checkout -b <branch>
```
^create-branch
Switch to an existing branch:
```sh
git checkout <branch>
```
^switch-branch
[^1]: https://git-scm.com/docs/git-checkout