add http representation for branch