Complete the command to check the current branch in Git.
git [1]The git branch command shows the current branch and all branches in the repository.
Complete the command to view the commit history in Git.
git [1]The git log command shows the commit history of the repository.
Fix the error in the command to add all changes to staging.
git [1] .The git add . command stages all changes in the current directory for the next commit.
Fill both blanks to switch to the new-feature branch.
git [1] [2]
The command git checkout new-feature switches to the branch named 'new-feature'. To create and switch in one step, use git checkout -b new-feature, but here we focus on switching.
Fill all three blanks to show the difference between the staged changes and the last commit.
git [1] [2] [3]
The command git diff --staged HEAD shows the differences between the staged changes and the last commit (HEAD).