Can category theory be used to formalize git operators?

Because I have no idea what the git metaphor is all about.