It sounds like you’ve already figured this out but just to confirm:
If you add the member as a collaborator on your GitHub project (see their docs here) they can export from Glitch to the repo using their own GitHub account which should mean the commits show up as theirs.
I understand the workflow is a little clunky, let us know if you have any further issues!