A Git branch is essentially an independent line of development. You can use branching when working on new features or bug fixes to isolate your work from that of other team members.
Separate branches can be merged into one branch. The diagram below illustrates how development can take place in parallel using branches.
Changes in the primary or other branches will not affect your branch unless you pull the latest changes from those branches.
It is a common practice to create a new branch for each task (i.e., bug fixes, new features, etc.). This method lets others easily identify what changes to expect and simplifies backtracking.