Corgi is a shared name for two Welsh herding breeds, the Pembroke and the Cardigan, and it's also what shelters often call corgi mixes. Both are long, low cattle dogs with upright ears and a dense double coat, bred to nip at the heels of cattle and dart away from hooves. The Pembroke is foxier and often has a short tail, while the Cardigan is heavier with a long, brushy tail.
Most corgis are bright, alert and affectionate, with big-dog confidence in a small body. That herding background can show up as barking, bossiness and nipping at moving heels, especially in young dogs. They shed heavily, love food a little too much, and need daily exercise and training. In a city like SF, that means a steady walking routine and some manners practice around sidewalk traffic.