Introduction
When you work on a project, you often want to try new ideas without changing the main work. A branch in git is like a bookmark that points to a specific version of your project. It helps you keep track of different versions easily.
When you want to try a new feature without affecting the main project
When you need to fix a bug separately from ongoing work
When you want to share your work with others without mixing it with the main code
When you want to keep your main project stable while experimenting
When you want to organize your work into different tasks or ideas