# Create a branch

### What is a branch?

A branch is a version of the code that is different from another branch. Committing and pushing to the same branch will not impact another branch.

![There are 2 other branches "add-richard" and "patch-1" ](https://901491421-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MfnvLlz6jyn3Hr5srxD%2F-MgDqCp6XLbPzJhoMZ_F%2F-MgDrl39AxqYg_ySo-4t%2Fimage.png?alt=media\&token=7d1adf95-f1ad-47bd-a999-f66e37c78302)

### How to create a branch?

```bash
git checkout -b "branch name"
```
