Complete the command to list all local branches with their tracking information.
git branch [1]The -vv option shows local branches with their upstream tracking branches and last commit info.
Complete the command to create a new local branch feature that tracks the remote branch origin/feature.
git checkout -b feature [1]The --track option sets the new branch to track the specified remote branch.
Fix the error in the command to set the upstream branch for the current branch to origin/main.
git branch [1] origin/mainThe correct option to set the upstream branch is --set-upstream-to.
Fill both blanks to create a new branch dev that tracks origin/dev and switch to it.
git [1] -b dev [2] origin/dev
Use git checkout -b dev --track origin/dev to create and switch to a branch tracking origin/dev.
Fill all three blanks to show the current branch, its upstream branch, and the remote URL.
git [1] && git [2] -vv && git remote [3] origin
git branch --show-current shows the current branch, git branch -vv shows branches with upstream info, and git remote get-url origin shows the remote URL.