Add API example with 'git log'