Which of the following git commands is used to manage files in a repository? (Choose two correct answers.)
Suggested Answer: A, C
Get Premium 701-100 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
25 comments · newest first
PA
Paris
10 days ago
You got this!
OR
Oren
16 days ago
Good luck with the exam!
SH
Shannon
21 days ago
So, A and C it is! Makes sense now.
PA
Paris
26 days ago
Right! git cp and git copy aren't valid either.
OR
Oren
1 month ago
No, it's not. Just git mv.
SH
Shannon
1 month ago
I was confused about git move. Is it even a command?
PA
Paris
1 month ago
Agreed! git rm and git mv manage files well.
OR
Oren
2 months ago
I think A and C are correct.
GL
Glory
2 months ago
Exactly! Just A and C.
RA
Ranee
2 months ago
D and E are not real commands, right?
JU
Julene
2 months ago
Makes sense! I’ll go with A and C too.
GR
Gregg
2 months ago
Right! And git mv moves files.
GL
Glory
2 months ago
It removes files from the repo.
JU
Julene
3 months ago
I’m not sure about git rm. What does it do?
GR
Gregg
3 months ago
Agreed! git rm and git mv are essential.
GL
Glory
3 months ago
I think A and C are correct.
AL
Aleisha
3 months ago
I always get confused with these commands!
AL
Alease
3 months ago
Wait, is git move even a real command?
DE
Delpha
3 months ago
Definitely A and C, no doubt!
FR
Frank
4 months ago
I thought git cp was a thing?
EZ
Ezekiel
4 months ago
A) git rm and C) git mv are correct!
MA
Mattie
4 months ago
I’m pretty confident that git rm is used to remove files, but I can’t recall if git move is a real command or just a trick option.
JA
Jacquelyne
4 months ago
I feel like git mv is correct, but git cp sounds familiar too. Was there a command for copying files?
VI
Viola
4 months ago
I remember practicing a question like this, and I think git rm is definitely one of the answers. Not sure about the second one though.
CE
Ceola
4 months ago
I think git rm and git mv are the ones we use to manage files, but I'm not completely sure about git mv.