188 | | === Creating a second branch === |
189 | | You may want multiple branches in your repository, e.g. for working on separate tasks, or for experimentation, or as a |
190 | | backup before doing a rebase. |
| 188 | === Working with multiple branches === |
| 189 | If you are working on several tasks, or want to make temporary changes for experimentation, |
| 190 | or want to back up your work before doing a rebase or reset, you can do that by having multiple branches |
| 191 | in your repository and switching between them. Each branch is a sequence of commits leading up to a |
| 192 | specific head commit (which can be referred to as HEAD without confusion since git knows which branch |
| 193 | you're referring to by which is checked out). It is very common for git users to switch between branches, |
| 194 | and this is a fast operation in git. |