Git Branch
A branch is a separate line of work in your repository. You can try out a new feature or fix a bug on a branch without changing main.
A branch is just a name that points to a commit. When you commit on a branch, the branch moves forward to the new commit.
Create and list branches
The * marks the branch you are on:
git branch hello-world-images
git branch
hello-world-images
* main
Delete a merged branch
git branch -d emergency-fix
Deleted branch emergency-fix (was b4d3923).