GPS can test you but whereas a GUM clinic is confidential, the go well record on your medical notes the tests, including hiv test. In the future, if you need a medical disclaimer signed by your gp and they ask if you have had a hiv test, the go must answer it yes, whereas a GUM clinic cannot say anything.
And, as others have said, gum clinics have quicker appointments and some have test facilities on site .