Introduce possibility to hook only specified branches on the commit