git merge command combines the history of one branch into your current branch — for example, merging changes from the "new-feature" branch into "main".
bash
# 1. Switch back to the main branch
git switch main
# 2. Merge the 'new-feature' branch into main
git merge new-featureYou should see
(All commits from the new-feature branch will be merged into the main branch)