Usually, youâll want to merge a branch into the master branch, so first make sure youâve moved into the master branch with git checkout master and then:
git merge new-branch-name
That will merge the contents of new-branch-name in with the master branch (or whatever branch youâre currently on).