CompTIA Linux+ (XK0-004) — Question 259

A systems administrator installed Git on a new workstation and wants to ensure all Git projects on this machine are initialized with the same username and email address.
Which of the following should the administrator use to meet this goal? (Choose two.)

Answer options

Correct answer: A, E

Explanation

The correct commands, git config --global user.name and git config --global user.email, set the global Git configuration for username and email, ensuring consistency across all repositories. The other options either use incorrect syntax, target local configurations instead of global, or reference nonexistent settings.