Home »
MCQs »
Full Stack Development MCQs
What are the 3 states of a file in Git?
33. What are the 3 states of a file in Git?
- Staged, Added, Committed
- Untracked, Staged, Committed
- Untracked, Staged, Added
- Untracked, Added, Committed
Answer: C) Untracked, Staged, Added
Explanation:
Git acts as a monitor to manage the project by using three states, i.e., Untracked, Staged, and Committed.