When working on a private branch use the git rebase command to obtain new changes from the source branch. Rebase doesn’t create a new commit, so it is difficult to undo, so it is not used on public branches.