Reference
Every time you commit, Git takes a picture of all your files. The history of the project is on the local disk. You can work and commit until you get a network connection to update. GIT stores everything in his database using hashes.3 Stages
# -- Working directory //
#
# The file is changed but not committed it to database yet.
# -- Staging area //
#
# The file is marked as modified to go into your next commit snapshot.
# -- Repository //
#
# Committed means that the modified file is stored in your DB.
➥ Questions