It's possible to switch to a new branch without the clean index; so that when I work on `master` and forget to create a branch before, I can move the changes to the new branch without hassle of git-stashing the changes:
```shell
$ git checkout master
$ touch some-new-file
$ git switch -c feature-branch
```
More info: [git-switch documentation](https://git-scm.com/docs/git-switch/2.23.0)
#git