Showing commit branches correctly