Credit Idris Solomon for The New York Times Photo Mr. Brannan, who was once a guitar player in a punk metal band, began his political life working for Councilman Vincent Gentile, who is vacating the seat that Mr. Brannan hopes to win in November.