DevOps Tools Engineer (LPIC-OT 701) — Question 26

Which of the following git commands is used to manage files in a repository? (Choose two correct answers.)

Answer options

Correct answer: A, C

Explanation

The correct answers are A and C because 'git rm' is used to remove files from the repository and 'git mv' is used to move or rename files. Options B, D, and E are not valid git commands; 'git cp' and 'git copy' do not exist, and 'git move' is not a recognized command in git.