Question: where are git files stored before commit?
Answer: Git store the repository wherever you tell him to. Usually in a folder on your local HDD.