Use `git branch --contains` to check if a commit has been merged.

Fix #66.