New snippet for checking if commits are merged into a specific branch