handle git tags properly on cloning.  clone -b does not support tags.