Softway interview question

How does Git work internally?