GIT provides three key areas that are uniquely designed, to give developers lots of control over workflow:
1.Working directory: It contains all the current states of files. Numerous developers can access directory when they are logged in, so collaboration is extremely easy.
2.Staging Area: It indexes everything for the next commit and any files that have been added or edited since the previous save.
3.GIT repository is a dedicated space where new commits are added: GIT repository maintains all the metadata, the files, and a dedicated database that tracks versions of the project.