First, you will fill out the SC return as a non-resident. It will calculate your tax liability and refund or balance due.
Second, you do your resident return. GA will then tax your income and give you a credit for your SC income already being taxed.
Since states have different tax rates, they will give the lower of SC or GA tax as a credit against the tax liability in GA. You may owe GA a little, or nothing at all.