Borrow images from this SO.
origin/master, stored in .git/refs/remotes/origin/masterrefs : +--+-.
| |
: note ----+-+----+---.
objects: | | | |
: v v v v
: tag -> commit -+-> tree -+-> blob
^ | ^ |
| | | |
'-----' '---'
remarks: parent(s) dirs files
(history)