Complete the code to specify the user name in the .gitconfig file.
[user]
name = [1]The name field under the [user] section sets the user's full name in the .gitconfig file.
Complete the code to set the user email in the .gitconfig file.
[user]
email = [1]The email field under the [user] section sets the user's email address in the .gitconfig file.
Fix the error in the .gitconfig snippet to correctly set the default editor.
[core]
editor = [1]The editor key under the [core] section sets the default text editor for Git commands. Common editors include 'vim', 'nano', or 'code'.
Fill both blanks to configure Git to use the credential helper cache with a timeout.
[credential] helper = [1] --timeout=[2]
The helper key under [credential] should be set to cache --timeout=3600. This uses the cache helper which stores credentials temporarily for 3600 seconds (1 hour).
Fill all three blanks to create an alias for 'git status' as 'st' in the .gitconfig file.
[alias] [1] = [2] [3]
The [alias] section lets you create shortcuts. Here, 'st' is an alias for 'git status --short' which shows a brief status output.