git merge
# Command git checkout main git merge [branch_to_merge] # Example git checkout main git merge dev # Merge dev branch to main branch.