Softway Interview Question

How does Git work internally?