
163Mining Data from Software Repositories
• Tag: It contains a reference to another Git object and may also hold some metadata
of another object. The elds of a Tag object are as follows:
• Name of the Tag object (string)
• Type of the Tag object, having the xed value as “Tag”
Figure5.13 depicts the data structure or data model of Git VCS. Figure5.14 presents an
example of how data is stored by Git.
The tree has three edges, which correspond to different le directories. The rst two
edges point to blob objects, which store the actual le content. The third edge points to
another tree or le directory, which stores the le “simplegit.rb” i ...