title: Given a commit id, how to determine if current branch contains the commit?
body: <p>What I'm trying to do is a version check. I want to ensure the code stays on top of a minimum version. So I need a way to know if the current branch contains a specified commit.</p>