I was unable to find the census record you cited; can you post it?
There is only 1 birth/baptism record for Martin McDermott 1868 Galway on www.rootsireland.ie/:
Name:Martin Joseph McDermottDate of Birth:
Date of Baptism:30-Mar-1868Address:Not RecordedParish/District:TUAMGender:MaleCountyCo. Galway
Denomination:Roman Catholic
Father:Thomas McDermottMother:Mary MacDonnellOccupation:
Sponsor 1 /
Informant 1:Martin McDonnellSponsor 2 /
Informant 2:Bridget McDonnell
Notes:
BY E.T. THE MOTHER'S FIRST NAME 'MARY' IS NOT ENTERED IN THIS
RECORD. IT
IS SUPPLIED HERE FROM OTHER FAMILY RECORDS IN THE TUAM REGISTERS
I can search again if you supplt the census record which includes parents' names.
Col