Complete the command to update your feature branch with the latest changes from main using rebase.
git checkout feature-branch
git [1] mainUse git rebase main to replay your feature branch commits on top of the latest main branch commits.
Complete the command to combine changes from a feature branch into main using merge.
git checkout main
git [1] feature-branchUse git merge feature-branch to combine the feature branch changes into main, preserving history.
Fix the error in the command to rebase your feature branch onto main.
git checkout feature-branch
git [1] origin/mainThe correct command is git rebase origin/main to rebase your local feature branch onto the remote main branch.
Fill both blanks to create a new branch and switch to it before rebasing.
git [1] new-feature git checkout [2]
First, create the branch with git branch new-feature, then switch to it with git checkout new-feature.
Fill all three blanks to create a merge commit with a message after merging feature-branch into main.
git checkout [1] git merge [2] -m "[3]"
Switch to main, merge feature-branch with a message describing the merge.