A branch in Git is simply a lightweight movable pointer to one of the commits.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/53e4b49f-bfbe-4091-a30c-5e1cda3ed153/Untitled.png

The best practice is to create a branch, always. A branch is like a new space you create to make your developments, to not disturb the main road which is also called the master branch in GitLab and the main branch in GitHub. Think about the master branch as the place where everyone agreed that the work is of enough quality to be shared and cloned.

Basics of Git Branching

Working with Branches in a Remote Repository

Basic Merge Conflicts