CompTIA Linux+ (XK0-004) — Question 141

A Linux systems administrator is implementing Source Code Management for the web application server configuration files located in /etc/httpd/. Which of the following steps should the administrator perform FIRST?

Answer options

Correct answer: D

Explanation

The correct first step is to configure the directory using 'git config', as this sets up the necessary parameters for the repository. Cloning a remote repository or creating a new one cannot occur without proper directory configuration first. Additionally, retrieving changes is not applicable until a repository is established.