Simplify extract

Using `git log --oneline` does most of the processing needed as it just prints the sha and the message.