Generate data structures of a git repository