Use commits endpoint to get SHA for branch.
Merge pull request #56 from square/stash-fixes-2

Use commits endpoint to get latest SHA for stash.