Pergunta de entrevista da empresa Newton School

How Git works internally? How does Git track files? Does it use snapshots or diffs internally?