examples: general: extract function demonstrating reference listings
examples: general: extract function demonstrating reference listings

stewid/libgit2,stewid/libgit2,Corillian/libgit2,Corillian/libgit2,Corillian/libgit2,stewid/libgit2,Corillian/libgit2,stewid/libgit2,stewid/libgit2,Corillian/libgit2,Corillian/libgit2,stewid/libgit2