CompTIA Linux+ (XK0-004) — Question 71
A junior Linux administrator is performing version control on a Git repository. The administrator is given a list of tasks to complete:
✑ List the currently installed Git release.
✑ Show the status reporting of the clone.
Which of the following commands would allow the administrator to complete these tasks? (Choose two.)
Answer options
- A. git clone --progress
- B. git clone --recursive
- C. git --help
- D. git clone --dissociate
- E. git --version
- F. git clone --shared
Correct answer: A, E
Explanation
The command 'git --version' (option E) displays the currently installed version of Git, while 'git clone --progress' (option A) shows progress information during the cloning process, thus fulfilling the requirement to report the status of the clone. The other options do not provide the necessary information for the tasks at hand.