Before starting any work, create a new branch off of the base branch your changes will be submitted to.
E.g. if you are working on a bug, your base branch would be main; if you are working on a feature, your base branch would be that feature's branch.
It is good practice to give the branch a name that is relevant to the work being done.