The bridge is a "business card" of San Francisco and has appeared in a large number of movies and TV series. Therefore, if the director wants to unambiguously emphasize that the action of the film takes place in San Francisco, he shoots "hilly" streets or the Golden Gate Bridge.