Complete the command to create a git alias named 'co' for 'checkout'.
git config --global alias.co [1]The alias 'co' is commonly used for 'checkout' to switch branches quickly.
Complete the command to create a git alias named 'st' for 'status'.
git config --global alias.st [1]The alias 'st' is a shortcut for the 'status' command, which shows the current state of the working directory.
Fix the error in the command to create a git alias named 'br' for 'branch'.
git config --global alias.br [1]The correct git command is 'branch'. Misspellings like 'branches' or 'branchs' cause errors.
Fill both blanks to create a git alias named 'lg' that shows a pretty log graph.
git config --global alias.lg '[1] --graph --oneline --decorate [2]'
The alias 'lg' uses 'log' with options '--graph', '--oneline', '--decorate', and '--all' to show a nice commit graph of all branches.
Fill all three blanks to create a git alias named 'unstage' that resets the index for a file.
git config --global alias.unstage '[1] [2] [3]'
The 'unstage' alias uses 'reset --mixed HEAD' to unstage files, moving changes from the index back to the working directory.