Can you provide the sentence where you saw it?
が , generally at the end of a sentence, (but sometimes starting a new one and followed by a comma) precedes an adversative idea , usually it's similar to けど/"but/though"
there are a few set expressions that use it for example, when you call someone using a phone "もしもし、たなかですが...".