Merging is the process of combining changes from different branches into a single branch. It is commonly used to integrate feature branches into the main branch.
Example Code:
# Switch to the main branch
git checkout main
# Merge the feature branch into the main branch
git merge feature-branch