working directory
the files currently visible on your file system, 파일이 있는 장소
the staging area. Index
the index of changes to be written to the repository after the next commit ,바로 다음에 커밋할 것
the repository ,HEAD
stores files, records the changes made to the files over time ,현재 branch 가 가리키는 포인터, 가장 마지막 커밋
git diff
to see the changes in working dir. and the changes in staging area
git diff --staged(cached)
compares your staged changes to your last commit