examples: Use git_object_short_id
Merge pull request #2228 from mekishizufu/example_short_id

Use git_object_short_id in examples