Junior — Middle
What is the main role of the Git version control system compared to using FTP and FTPS for file management?
sobes.tech AI
Answer from AI
Git is a distributed version control system that allows tracking changes in code, working with branches, merging changes, and reverting to previous project states. Unlike FTP/FTPS, which simply transfer files between client and server, Git provides:
- Change history with rollback capabilities
- Collaborative work among multiple developers without conflicts
- Branch management
- Local work without constant server connection
Example: When working with Git, you can create a branch for a new feature without affecting the main branch, and after testing, merge the changes. FTP simply copies files, without preserving history or facilitating version management.