<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by Broadridge Transform (tm) - http://www.broadridge.com -->
<!-- Created: Wed Sep 09 14:12:13 UTC 2026 -->
<xs:schema xmlns:gcbc="http://thebankofgreenecounty.com/20260630" elementFormDefault="qualified" xmlns:srt-types="http://fasb.org/srt-types/2026" targetNamespace="http://thebankofgreenecounty.com/20260630" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:us-types="http://fasb.org/us-types/2026" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:dtr="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:xbrli="http://www.xbrl.org/2003/instance">
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xlink:type="simple" xlink:href="gcbc-20260630_lab.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="gcbc-20260630_pre.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="gcbc-20260630_def.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="gcbc-20260630_cal.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef"/>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ConsolidatedBalanceSheet" id="gcbc_r_ConsolidatedBalanceSheet">
        <link:definition>001 - Statement - Consolidated Statements of Financial Condition</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ConsolidatedBalanceSheet_Parentheticals" id="gcbc_r_ConsolidatedBalanceSheet_Parentheticals">
        <link:definition>002 - Statement - Consolidated Statements of Financial Condition (Parentheticals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ConsolidatedIncomeStatement" id="gcbc_r_ConsolidatedIncomeStatement">
        <link:definition>003 - Statement - Consolidated Statements of Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ConsolidatedComprehensiveIncome" id="gcbc_r_ConsolidatedComprehensiveIncome">
        <link:definition>004 - Statement - Consolidated Statements of Comprehensive Income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ShareholdersEquityType2or3" id="gcbc_r_ShareholdersEquityType2or3">
        <link:definition>005 - Statement - Consolidated Statements of Changes in Shareholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ConsolidatedCashFlow" id="gcbc_r_ConsolidatedCashFlow">
        <link:definition>006 - Statement - Consolidated Statements of Cash Flows</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/Summaryofsignificantaccountingpolicies" id="gcbc_r_Summaryofsignificantaccountingpolicies">
        <link:definition>007 - Disclosure - Summary of significant accounting policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/BalancesatOtherBanks" id="gcbc_r_BalancesatOtherBanks">
        <link:definition>008 - Disclosure - Balances at Other Banks</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/Securities" id="gcbc_r_Securities">
        <link:definition>009 - Disclosure - Securities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/LoansandAllowanceforCreditLossesonLoans" id="gcbc_r_LoansandAllowanceforCreditLossesonLoans">
        <link:definition>010 - Disclosure - Loans and Allowance for Credit Losses on Loans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/PremisesandEquipment" id="gcbc_r_PremisesandEquipment">
        <link:definition>011 - Disclosure - Premises and Equipment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/Deposits" id="gcbc_r_Deposits">
        <link:definition>012 - Disclosure - Deposits</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/Borrowings" id="gcbc_r_Borrowings">
        <link:definition>013 - Disclosure - Borrowings</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AccumulatedOtherComprehensiveLoss" id="gcbc_r_AccumulatedOtherComprehensiveLoss">
        <link:definition>014 - Disclosure - Accumulated Other Comprehensive Loss</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/EmployeeBenefitPlans" id="gcbc_r_EmployeeBenefitPlans">
        <link:definition>015 - Disclosure - Employee Benefit Plans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/StockBasedCompensation" id="gcbc_r_StockBasedCompensation">
        <link:definition>016 - Disclosure - Stock-Based Compensation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/EarningsPerShare" id="gcbc_r_EarningsPerShare">
        <link:definition>017 - Disclosure - Earnings Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/IncomeTaxes" id="gcbc_r_IncomeTaxes">
        <link:definition>018 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CommitmentsandContingentLiabilities" id="gcbc_r_CommitmentsandContingentLiabilities">
        <link:definition>019 - Disclosure - Commitments and Contingent Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/VariableInterestEntities" id="gcbc_r_VariableInterestEntities">
        <link:definition>020 - Disclosure - Variable Interest Entities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DerivativeInstruments" id="gcbc_r_DerivativeInstruments">
        <link:definition>021 - Disclosure - Derivative Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/OperatingLeases" id="gcbc_r_OperatingLeases">
        <link:definition>022 - Disclosure - Operating Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ConcentrationsofCreditRisk" id="gcbc_r_ConcentrationsofCreditRisk">
        <link:definition>023 - Disclosure - Concentrations of Credit Risk</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/FairValueMeasurementsandFairValueofFinancialInstruments" id="gcbc_r_FairValueMeasurementsandFairValueofFinancialInstruments">
        <link:definition>024 - Disclosure - Fair Value Measurements and Fair Value of Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/RegulatoryMatters" id="gcbc_r_RegulatoryMatters">
        <link:definition>025 - Disclosure - Regulatory Matters</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CondensedFinancialStatementsofGreeneCountyBancorpInc" id="gcbc_r_CondensedFinancialStatementsofGreeneCountyBancorpInc">
        <link:definition>026 - Disclosure - Condensed Financial Statements of Greene County Bancorp, Inc.</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/Subsequentevents" id="gcbc_r_Subsequentevents">
        <link:definition>027 - Disclosure - Subsequent events</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AccountingPoliciesByPolicy" id="gcbc_r_AccountingPoliciesByPolicy">
        <link:definition>996000 - Disclosure - Accounting Policies, by Policy (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/SecuritiesTables" id="gcbc_r_SecuritiesTables">
        <link:definition>996001 - Disclosure - Securities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/LoansandAllowanceforCreditLossesonLoansTables" id="gcbc_r_LoansandAllowanceforCreditLossesonLoansTables">
        <link:definition>996002 - Disclosure - Loans and Allowance for Credit Losses on Loans (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/PremisesandEquipmentTables" id="gcbc_r_PremisesandEquipmentTables">
        <link:definition>996003 - Disclosure - Premises and Equipment (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DepositsTables" id="gcbc_r_DepositsTables">
        <link:definition>996004 - Disclosure - Deposits (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AccumulatedOtherComprehensiveLossTables" id="gcbc_r_AccumulatedOtherComprehensiveLossTables">
        <link:definition>996005 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/EmployeeBenefitPlansTables" id="gcbc_r_EmployeeBenefitPlansTables">
        <link:definition>996006 - Disclosure - Employee Benefit Plans (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/StockBasedCompensationTables" id="gcbc_r_StockBasedCompensationTables">
        <link:definition>996007 - Disclosure - Stock-Based Compensation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/EarningsPerShareTables" id="gcbc_r_EarningsPerShareTables">
        <link:definition>996008 - Disclosure - Earnings Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/IncomeTaxesTables" id="gcbc_r_IncomeTaxesTables">
        <link:definition>996009 - Disclosure - Income Taxes (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CommitmentsandContingentLiabilitiesTables" id="gcbc_r_CommitmentsandContingentLiabilitiesTables">
        <link:definition>996010 - Disclosure - Commitments and Contingent Liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/VariableInterestEntitiesTables" id="gcbc_r_VariableInterestEntitiesTables">
        <link:definition>996011 - Disclosure - Variable Interest Entities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DerivativeInstrumentsTables" id="gcbc_r_DerivativeInstrumentsTables">
        <link:definition>996012 - Disclosure - Derivative Instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/OperatingLeasesTables" id="gcbc_r_OperatingLeasesTables">
        <link:definition>996013 - Disclosure - Operating Leases (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/FairValueMeasurementsandFairValueofFinancialInstrumentsTables" id="gcbc_r_FairValueMeasurementsandFairValueofFinancialInstrumentsTables">
        <link:definition>996014 - Disclosure - Fair Value Measurements and Fair Value of Financial Instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/RegulatoryMattersTables" id="gcbc_r_RegulatoryMattersTables">
        <link:definition>996015 - Disclosure - Regulatory Matters (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CondensedFinancialStatementsofGreeneCountyBancorpIncTables" id="gcbc_r_CondensedFinancialStatementsofGreeneCountyBancorpIncTables">
        <link:definition>996016 - Disclosure - Condensed Financial Statements of Greene County Bancorp, Inc. (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/SummaryofsignificantaccountingpoliciesDetails" id="gcbc_r_SummaryofsignificantaccountingpoliciesDetails">
        <link:definition>996017 - Disclosure - Summary of significant accounting policies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/BalancesatOtherBanksDetails" id="gcbc_r_BalancesatOtherBanksDetails">
        <link:definition>996018 - Disclosure - Balances at Other Banks (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/SecuritiesDetails" id="gcbc_r_SecuritiesDetails">
        <link:definition>996019 - Disclosure - Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AmortizedCostandFairValueofSecuritiesAvailableforSaleTable" id="gcbc_r_AmortizedCostandFairValueofSecuritiesAvailableforSaleTable">
        <link:definition>996020 - Disclosure - Securities - Amortized Cost and Fair Value of Securities Available-for-Sale (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AmortizedCostandFairValueandAllowanceforCreditLossonSecuritiesHeldtoMaturityTable" id="gcbc_r_AmortizedCostandFairValueandAllowanceforCreditLossonSecuritiesHeldtoMaturityTable">
        <link:definition>996021 - Disclosure - Securities - Amortized Cost and Fair Value and Allowance for Credit Loss on Securities Held-to-Maturity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AllowanceforCreditLossesonSecuritiesHeldtoMaturityTable" id="gcbc_r_AllowanceforCreditLossesonSecuritiesHeldtoMaturityTable">
        <link:definition>996022 - Disclosure - Securities - Allowance for Credit Losses on Securities Held-to-Maturity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/SecuritiesinContinuousUnrealizedLossPositionTable" id="gcbc_r_SecuritiesinContinuousUnrealizedLossPositionTable">
        <link:definition>996023 - Disclosure - Securities - Securities in Continuous Unrealized Loss Position (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/InvestmentsClassifiedbyContractualMaturityDateTable" id="gcbc_r_InvestmentsClassifiedbyContractualMaturityDateTable">
        <link:definition>996024 - Disclosure - Securities - Investments Classified by Contractual Maturity Date (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/LoansandAllowanceforCreditLossesonLoansDetails" id="gcbc_r_LoansandAllowanceforCreditLossesonLoansDetails">
        <link:definition>996025 - Disclosure - Loans and Allowance for Credit Losses on Loans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/MajorLoanSegmentsandClassesTable" id="gcbc_r_MajorLoanSegmentsandClassesTable">
        <link:definition>996026 - Disclosure - Loans and Allowance for Credit Losses on Loans - Major Loan Segments and Classes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DelinquentandNonaccrualLoansbyPastDueStatusTable" id="gcbc_r_DelinquentandNonaccrualLoansbyPastDueStatusTable">
        <link:definition>996027 - Disclosure - Loans and Allowance for Credit Losses on Loans - Delinquent and Nonaccrual Loans by Past Due Status (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ActivityandAllocationofAllowanceforLoanLossesTable" id="gcbc_r_ActivityandAllocationofAllowanceforLoanLossesTable">
        <link:definition>996028 - Disclosure - Loans and Allowance for Credit Losses on Loans - Activity and Allocation of Allowance for Loan Losses (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/LoanBalancesbyInternalCreditQualityIndicatorTable" id="gcbc_r_LoanBalancesbyInternalCreditQualityIndicatorTable">
        <link:definition>996029 - Disclosure - Loans and Allowance for Credit Losses on Loans - Loan Balances by Internal Credit Quality Indicator (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/LoansModifiedtoBorrowersExperiencingFinancialDifficultybytypeofConcessionGrantedTable" id="gcbc_r_LoansModifiedtoBorrowersExperiencingFinancialDifficultybytypeofConcessionGrantedTable">
        <link:definition>996030 - Disclosure - Loans and Allowance for Credit Losses on Loans - Loans Modified to Borrowers Experiencing Financial Difficulty by type of Concession Granted (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/LoansandAllowanceforCreditLossesonLoansDetailsFinancialEffectofModificationsMadetoBorrowersExperiencingFinancialDifficulty" id="gcbc_r_LoansandAllowanceforCreditLossesonLoansDetailsFinancialEffectofModificationsMadetoBorrowersExperiencingFinancialDifficulty">
        <link:definition>996031 - Disclosure - Loans and Allowance for Credit Losses on Loans - Financial Effect of Modifications Made to Borrowers Experiencing Financial Difficulty (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/LoansModifiedtoBorrowersExperiencingFinancialDifficultyTable" id="gcbc_r_LoansModifiedtoBorrowersExperiencingFinancialDifficultyTable">
        <link:definition>996032 - Disclosure - Loans and Allowance for Credit Losses on Loans - Loans Modified to Borrowers Experiencing Financial Difficulty (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/PremisesandEquipmentDetails" id="gcbc_r_PremisesandEquipmentDetails">
        <link:definition>996033 - Disclosure - Premises and Equipment (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/PremisesandEquipmentTable" id="gcbc_r_PremisesandEquipmentTable">
        <link:definition>996034 - Disclosure - Premises and Equipment - Premises and Equipment (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DepositsDetails" id="gcbc_r_DepositsDetails">
        <link:definition>996035 - Disclosure - Deposits (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/MajorClassificationsofDepositsTable" id="gcbc_r_MajorClassificationsofDepositsTable">
        <link:definition>996036 - Disclosure - Deposits - Major Classifications of Deposits (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DepositsbyTimeRemainingonMaturityTable" id="gcbc_r_DepositsbyTimeRemainingonMaturityTable">
        <link:definition>996037 - Disclosure - Deposits - Deposits by Time Remaining on Maturity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DepositsbyTimeRemainingonMaturityTableAlt1" id="gcbc_r_DepositsbyTimeRemainingonMaturityTableAlt1">
        <link:definition>996037 - Disclosure - Deposits - Deposits by Time Remaining on Maturity (Details) Alternate 1</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ScheduledMaturitiesofCertificatesofDepositTable" id="gcbc_r_ScheduledMaturitiesofCertificatesofDepositTable">
        <link:definition>996038 - Disclosure - Deposits - Scheduled Maturities of Certificates of Deposit (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/BorrowingsDetails" id="gcbc_r_BorrowingsDetails">
        <link:definition>996039 - Disclosure - Borrowings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AccumulatedOtherComprehensiveLossTable" id="gcbc_r_AccumulatedOtherComprehensiveLossTable">
        <link:definition>996040 - Disclosure - Accumulated Other Comprehensive Loss - Accumulated Other Comprehensive Loss (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/EmployeeBenefitPlansDetails" id="gcbc_r_EmployeeBenefitPlansDetails">
        <link:definition>996041 - Disclosure - Employee Benefit Plans (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/InformationRegardingPensionPlanTable" id="gcbc_r_InformationRegardingPensionPlanTable">
        <link:definition>996042 - Disclosure - Employee Benefit Plans - Information Regarding Pension Plan (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ComponentsofNetPeriodicPensionCostsTable" id="gcbc_r_ComponentsofNetPeriodicPensionCostsTable">
        <link:definition>996043 - Disclosure - Employee Benefit Plans - Components of Net Periodic Pension Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AmountsRecognizedinOtherComprehensiveIncomeTable" id="gcbc_r_AmountsRecognizedinOtherComprehensiveIncomeTable">
        <link:definition>996044 - Disclosure - Employee Benefit Plans - Amounts Recognized in Other Comprehensive Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AmountsRecognizedinFinancialConditionTable" id="gcbc_r_AmountsRecognizedinFinancialConditionTable">
        <link:definition>996045 - Disclosure - Employee Benefit Plans - Amounts Recognized in Financial Condition (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AssumptionsUsedTable" id="gcbc_r_AssumptionsUsedTable">
        <link:definition>996046 - Disclosure - Employee Benefit Plans - Assumptions Used (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AllocationofPlanAssetsTable" id="gcbc_r_AllocationofPlanAssetsTable">
        <link:definition>996047 - Disclosure - Employee Benefit Plans - Allocation of Plan Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/StockBasedCompensationDetails" id="gcbc_r_StockBasedCompensationDetails">
        <link:definition>996048 - Disclosure - Stock-Based Compensation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/SummaryofPhantomStockOptionActivityandRelatedInformationTable" id="gcbc_r_SummaryofPhantomStockOptionActivityandRelatedInformationTable">
        <link:definition>996049 - Disclosure - Stock-Based Compensation - Summary of Phantom Stock Option Activity and Related Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/EarningsPerShareDetails" id="gcbc_r_EarningsPerShareDetails">
        <link:definition>996050 - Disclosure - Earnings Per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/EarningsPerShareTable" id="gcbc_r_EarningsPerShareTable">
        <link:definition>996051 - Disclosure - Earnings Per Share - Earnings Per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/IncomeTaxesDetails" id="gcbc_r_IncomeTaxesDetails">
        <link:definition>996052 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ProvisionforIncomeTaxesTable" id="gcbc_r_ProvisionforIncomeTaxesTable">
        <link:definition>996053 - Disclosure - Income Taxes - Provision for Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/ReconcilestheStatutoryFederalIncomeTaxRatetotheEffectiveIncomeTaxRateTable" id="gcbc_r_ReconcilestheStatutoryFederalIncomeTaxRatetotheEffectiveIncomeTaxRateTable">
        <link:definition>996054 - Disclosure - Income Taxes - Reconciles the Statutory Federal Income Tax Rate to the Effective Income Tax Rate (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/IncomeTaxesPaidNetofRefundsTable" id="gcbc_r_IncomeTaxesPaidNetofRefundsTable">
        <link:definition>996055 - Disclosure - Income Taxes - Income Taxes Paid, Net of Refunds (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DeferredTaxAssetsandLiabilitiesTable" id="gcbc_r_DeferredTaxAssetsandLiabilitiesTable">
        <link:definition>996056 - Disclosure - Income Taxes - Deferred Tax Assets and Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CommitmentsandContingentLiabilitiesDetails" id="gcbc_r_CommitmentsandContingentLiabilitiesDetails">
        <link:definition>996057 - Disclosure - Commitments and Contingent Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CreditrelatedFinancialInstrumentswithOffBalanceSheetRiskTable" id="gcbc_r_CreditrelatedFinancialInstrumentswithOffBalanceSheetRiskTable">
        <link:definition>996058 - Disclosure - Commitments and Contingent Liabilities - Credit-related Financial Instruments with Off-Balance Sheet Risk (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/SolarTaxCreditInvestmentsandRelatedUnfundedCommitmentsTable" id="gcbc_r_SolarTaxCreditInvestmentsandRelatedUnfundedCommitmentsTable">
        <link:definition>996059 - Disclosure - Variable Interest Entities - Solar Tax Credit Investments and Related Unfunded Commitments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DerivativeInstrumentsDetails" id="gcbc_r_DerivativeInstrumentsDetails">
        <link:definition>996060 - Disclosure - Derivative Instruments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/NotionalAmountandFairValuesofInterestRateDerivativePositionsTable" id="gcbc_r_NotionalAmountandFairValuesofInterestRateDerivativePositionsTable">
        <link:definition>996061 - Disclosure - Derivative Instruments - Notional Amount and Fair Values of Interest Rate Derivative Positions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/NotionalAmountandFairValuesofInterestRateDerivativePositionsTableAlt1" id="gcbc_r_NotionalAmountandFairValuesofInterestRateDerivativePositionsTableAlt1">
        <link:definition>996061 - Disclosure - Derivative Instruments - Notional Amount and Fair Values of Interest Rate Derivative Positions (Details) Alternate 1</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/OperatingLeasesDetails" id="gcbc_r_OperatingLeasesDetails">
        <link:definition>996062 - Disclosure - Operating Leases (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/QuantitativeDataRelatedtoOperatingLeasesTable" id="gcbc_r_QuantitativeDataRelatedtoOperatingLeasesTable">
        <link:definition>996063 - Disclosure - Operating Leases - Quantitative Data Related to Operating Leases (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/UndiscountedCashFlowsofOperatingLeaseLiabilitiesTable" id="gcbc_r_UndiscountedCashFlowsofOperatingLeaseLiabilitiesTable">
        <link:definition>996064 - Disclosure - Operating Leases - Undiscounted Cash Flows of Operating Lease Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/UndiscountedCashFlowsofOperatingLeaseLiabilitiesTableAlt1" id="gcbc_r_UndiscountedCashFlowsofOperatingLeaseLiabilitiesTableAlt1">
        <link:definition>996064 - Disclosure - Operating Leases - Undiscounted Cash Flows of Operating Lease Liabilities (Details) Alternate 1</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/FairValueMeasurementsandFairValueofFinancialInstrumentsDetails" id="gcbc_r_FairValueMeasurementsandFairValueofFinancialInstrumentsDetails">
        <link:definition>996065 - Disclosure - Fair Value Measurements and Fair Value of Financial Instruments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AssetsMeasuredatFairValueonRecurringBasisTable" id="gcbc_r_AssetsMeasuredatFairValueonRecurringBasisTable">
        <link:definition>996066 - Disclosure - Fair Value Measurements and Fair Value of Financial Instruments - Assets Measured at Fair Value on Recurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AssetsMeasuredatFairValueonRecurringBasisTableAlt1" id="gcbc_r_AssetsMeasuredatFairValueonRecurringBasisTableAlt1">
        <link:definition>996066 - Disclosure - Fair Value Measurements and Fair Value of Financial Instruments - Assets Measured at Fair Value on Recurring Basis (Details) Alternate 1</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/FairValueMeasurementsforLoansEvaluatedIndividuallyandForeclosedRealEstateTable" id="gcbc_r_FairValueMeasurementsforLoansEvaluatedIndividuallyandForeclosedRealEstateTable">
        <link:definition>996067 - Disclosure - Fair Value Measurements and Fair Value of Financial Instruments - Fair Value Measurements for Loans Evaluated Individually and Foreclosed Real Estate (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CarryingAmountsandEstimatedFairValueofFinancialInstrumentsTable" id="gcbc_r_CarryingAmountsandEstimatedFairValueofFinancialInstrumentsTable">
        <link:definition>996068 - Disclosure - Fair Value Measurements and Fair Value of Financial Instruments - Carrying Amounts and Estimated Fair Value of Financial Instruments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/RegulatoryMattersDetails" id="gcbc_r_RegulatoryMattersDetails">
        <link:definition>996069 - Disclosure - Regulatory Matters (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CompliancewithRegulatoryCapitalRequirementsunderBankingRegulationsTable" id="gcbc_r_CompliancewithRegulatoryCapitalRequirementsunderBankingRegulationsTable">
        <link:definition>996070 - Disclosure - Regulatory Matters - Compliance with Regulatory Capital Requirements under Banking Regulations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CondensedStatementsofFinancialConditionTable" id="gcbc_r_CondensedStatementsofFinancialConditionTable">
        <link:definition>996071 - Disclosure - Condensed Financial Statements of Greene County Bancorp, Inc. - Condensed Statements of Financial Condition (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CondensedStatementsofIncomeTable" id="gcbc_r_CondensedStatementsofIncomeTable">
        <link:definition>996072 - Disclosure - Condensed Financial Statements of Greene County Bancorp, Inc. - Condensed Statements of Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/CondensedStatementsofCashFlowsTable" id="gcbc_r_CondensedStatementsofCashFlowsTable">
        <link:definition>996073 - Disclosure - Condensed Financial Statements of Greene County Bancorp, Inc. - Condensed Statements of Cash Flows (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/SubsequenteventsDetails" id="gcbc_r_SubsequenteventsDetails">
        <link:definition>996074 - Disclosure - Subsequent events (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/DocumentAndEntityInformation" id="DocumentAndEntityInformation">
        <link:definition>000 - Document - Document And Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://thebankofgreenecounty.com/role/AdditionalCalculations" id="gcbc_r_AdditionalCalculations">
        <link:definition>996075 - Disclosure - AdditionalCalculations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://fasb.org/us-types/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-types-2026.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://fasb.org/srt-types/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-types-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/sic/2026" schemaLocation="https://xbrl.sec.gov/sic/2026/sic-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/cyd-af/2026" schemaLocation="https://xbrl.sec.gov/cyd/2026/cyd-af-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd-sub/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-sub-2026.xsd"/>
  <xs:element name="CommonStockParValue010PerShareAuthorized36000000SharesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CommonStockParValue010PerShareAuthorized36000000SharesAbstract"/>
  <xs:element name="AssetsAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_AssetsAbstract0"/>
  <xs:element name="LiabilitiesAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LiabilitiesAbstract0"/>
  <xs:element name="LiabilitiesAndShareholdersEquityAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LiabilitiesAndShareholdersEquityAbstract0"/>
  <xs:element name="InterestBearingDepositsAndFederalFundsSold" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_InterestBearingDepositsAndFederalFundsSold"/>
  <xs:element name="ServiceChargesOnDepositAccounts" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ServiceChargesOnDepositAccounts"/>
  <xs:element name="DebitCardFees" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebitCardFees"/>
  <xs:element name="ECommerceFees" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ECommerceFees"/>
  <xs:element name="ComputerSoftwareSuppliesAndSupport" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ComputerSoftwareSuppliesAndSupport"/>
  <xs:element name="SecuritiesAvailableForSalePrincipalPaymentsOnSecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesAvailableForSalePrincipalPaymentsOnSecurities"/>
  <xs:element name="SecuritiesHeldToMaturitiesPrincipalPaymentsOnSecurities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesHeldToMaturitiesPrincipalPaymentsOnSecurities"/>
  <xs:element name="ProceedsFromMaturitiesOfLongTermCertificatesOfDeposit" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ProceedsFromMaturitiesOfLongTermCertificatesOfDeposit"/>
  <xs:element name="ProceedsFromPaymentsOfShortTermFHLBankBorrowingsFinancingActivities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ProceedsFromPaymentsOfShortTermFHLBankBorrowingsFinancingActivities"/>
  <xs:element name="NatureOfOperationsPolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NatureOfOperationsPolicyTextBlock"/>
  <xs:element name="CharterPolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CharterPolicyTextBlock"/>
  <xs:element name="LoansAndLeasesReceivableAllowanceForCreditLossesOnSecuritiesHeldToMaturityPolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LoansAndLeasesReceivableAllowanceForCreditLossesOnSecuritiesHeldToMaturityPolicyTextBlock"/>
  <xs:element name="LoansAndLeasesReceivableAllowanceForCreditLossesOnSecuritiesAvailableForSalePolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LoansAndLeasesReceivableAllowanceForCreditLossesOnSecuritiesAvailableForSalePolicyTextBlock"/>
  <xs:element name="LoansAndLeasesReceivableNonaccrualLoanAndLeasesStatusPolicy" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LoansAndLeasesReceivableNonaccrualLoanAndLeasesStatusPolicy"/>
  <xs:element name="LoanModificationsToBorrowersExperiencingFinancialDifficultyPolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LoanModificationsToBorrowersExperiencingFinancialDifficultyPolicyTextBlock"/>
  <xs:element name="LoansAndLeaseReceivableAllowanceForLoanLossesPolicy" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LoansAndLeaseReceivableAllowanceForLoanLossesPolicy"/>
  <xs:element name="LoansAndLeasesReceivableAllowanceForCreditLossesOnUnfundedCommitmentsPolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LoansAndLeasesReceivableAllowanceForCreditLossesOnUnfundedCommitmentsPolicyTextBlock"/>
  <xs:element name="AccruedInterestReceivablePolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_AccruedInterestReceivablePolicyTextBlock"/>
  <xs:element name="BankOwnedLifeInsurancePolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_BankOwnedLifeInsurancePolicyTextBlock"/>
  <xs:element name="FederalHomeLoanBankStockPolicyPolicyTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalHomeLoanBankStockPolicyPolicyTextBlock"/>
  <xs:element name="SecuritiesContinuousUnrealizedLossPositionTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesContinuousUnrealizedLossPositionTableTextBlock"/>
  <xs:element name="FinancingReceivablesLoansModifiedToBorrowersExperiencingFinancialDifficultyByTypeOfConcessionGrantedTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FinancingReceivablesLoansModifiedToBorrowersExperiencingFinancialDifficultyByTypeOfConcessionGrantedTableTextBlock"/>
  <xs:element name="FinancialEffectOfModificationsMadeToBorrowersExperiencingFinancialDifficultyTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FinancialEffectOfModificationsMadeToBorrowersExperiencingFinancialDifficultyTableTextBlock"/>
  <xs:element name="FinancingReceivablesLoansModifiedToBorrowersExperiencingFinancialDifficultyTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FinancingReceivablesLoansModifiedToBorrowersExperiencingFinancialDifficultyTableTextBlock"/>
  <xs:element name="ScheduleOfDepositsTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ScheduleOfDepositsTableTextBlock"/>
  <xs:element name="ScheduleOfDepositsByTimeRemainingOnMaturityTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ScheduleOfDepositsByTimeRemainingOnMaturityTableTextBlock"/>
  <xs:element name="ScheduleOfCertificatesOfDepositsByYearOfMaturityTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ScheduleOfCertificatesOfDepositsByYearOfMaturityTableTextBlock"/>
  <xs:element name="ScheduleOfPhantomStockOptionsActivityTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ScheduleOfPhantomStockOptionsActivityTableTextBlock"/>
  <xs:element name="UnfundedLoanCommitmentsTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_UnfundedLoanCommitmentsTableTextBlock"/>
  <xs:element name="DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositionsLessThan12MonthsFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositionsLessThan12MonthsFairValue"/>
  <xs:element name="DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositionsLessThan12MonthsAccumulatedLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositionsLessThan12MonthsAccumulatedLoss"/>
  <xs:element name="HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear"/>
  <xs:element name="DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositions12MonthsOrLongerFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositions12MonthsOrLongerFairValue"/>
  <xs:element name="DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositions12MonthsOrLongerAccumulatedLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebtSecuritiesHeldToMaturityContinuousUnrealizedLossPositions12MonthsOrLongerAccumulatedLoss"/>
  <xs:element name="HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear"/>
  <xs:element name="DebtSecuritiesHeldToMaturityUnrealizedLossPositionsFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebtSecuritiesHeldToMaturityUnrealizedLossPositionsFairValue"/>
  <xs:element name="HeldToMaturitySecuritiesInUnrealizedLossesPositionsQualitativeDisclosureNumberOfSecurityPositions" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_HeldToMaturitySecuritiesInUnrealizedLossesPositionsQualitativeDisclosureNumberOfSecurityPositions"/>
  <xs:element name="SecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue"/>
  <xs:element name="SecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesContinuousUnrealizedLossPositionAccumulatedLoss"/>
  <xs:element name="NumberOfSecuritiesUnrealizedLossPositionLessThanTwelveMonths" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfSecuritiesUnrealizedLossPositionLessThanTwelveMonths"/>
  <xs:element name="SecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue"/>
  <xs:element name="SecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
  <xs:element name="NumberOfSecuritiesUnrealizedLossPositionTwelveMonthsOrLonger" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfSecuritiesUnrealizedLossPositionTwelveMonthsOrLonger"/>
  <xs:element name="SecuritiesContinuousUnrealizedLossPositionsFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesContinuousUnrealizedLossPositionsFairValue"/>
  <xs:element name="SecuritiesContinuousUnrealizedLossPositionsAccumulatedLoss" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesContinuousUnrealizedLossPositionsAccumulatedLoss"/>
  <xs:element name="NumberOfSecuritiesUnrealizedLossPosition" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfSecuritiesUnrealizedLossPosition"/>
  <xs:element name="UnamortizedLoanCommitmentsAndOriginationFeesAndUnamortizedDiscountsOrPremiums" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_UnamortizedLoanCommitmentsAndOriginationFeesAndUnamortizedDiscountsOrPremiums"/>
  <xs:element name="ContractualMaturitiesTimeDepositsLessThan250000ThreeMonthsOrLess" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesTimeDepositsLessThan250000ThreeMonthsOrLess"/>
  <xs:element name="ContractualMaturitiesTimeDepositsLessThan250000ThreeMonthsThroughSixMonths" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesTimeDepositsLessThan250000ThreeMonthsThroughSixMonths"/>
  <xs:element name="ContractualMaturitiesTimeDepositsLessThan250000SixMonthsThrough12Months" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesTimeDepositsLessThan250000SixMonthsThrough12Months"/>
  <xs:element name="ContractualMaturitiesTimeDepositsLessThan250000After12Months" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesTimeDepositsLessThan250000After12Months"/>
  <xs:element name="TimeDepositsLessThan250000" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TimeDepositsLessThan250000"/>
  <xs:element name="ContractualMaturitiesTimeDeposits250000OrMoreThreeMonthsOrLess" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesTimeDeposits250000OrMoreThreeMonthsOrLess"/>
  <xs:element name="ContractualMaturitiesTimeDeposits250000OrMoreThreeMonthsThroughSixMonths" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesTimeDeposits250000OrMoreThreeMonthsThroughSixMonths"/>
  <xs:element name="ContractualMaturitiesTimeDeposits250000OrMore6MonthsThrough12Months" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesTimeDeposits250000OrMore6MonthsThrough12Months"/>
  <xs:element name="ContractualMaturitiesTimeDeposits250000OrMoreAfter12Months" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesTimeDeposits250000OrMoreAfter12Months"/>
  <xs:element name="TimeDeposits250000OrMore" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TimeDeposits250000OrMore"/>
  <xs:element name="TimeDepositMaturitiesThreeMonthsOrLess" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TimeDepositMaturitiesThreeMonthsOrLess"/>
  <xs:element name="TimeDepositMaturitiesThreeMonthsThroughSixMonths" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TimeDepositMaturitiesThreeMonthsThroughSixMonths"/>
  <xs:element name="TimeDepositMaturitiesSixMonthsThrough12Months" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TimeDepositMaturitiesSixMonthsThrough12Months"/>
  <xs:element name="TimeDepositMaturitiesAfter12Months" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TimeDepositMaturitiesAfter12Months"/>
  <xs:element name="OtherComprehensiveIncomeLossPensionTerminationSettlementChargeRecognizedInOtherExpenseBeforeTax" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_OtherComprehensiveIncomeLossPensionTerminationSettlementChargeRecognizedInOtherExpenseBeforeTax"/>
  <xs:element name="OtherComprehensiveIncomeLossPensionTerminationSettlementChargeRecognizedInOtherExpenseTax" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_OtherComprehensiveIncomeLossPensionTerminationSettlementChargeRecognizedInOtherExpenseTax"/>
  <xs:element name="OtherComprehensiveIncomeLossPensionTerminationSettlementChargeRecognizedInOtherExpenseNetOfTax" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_OtherComprehensiveIncomeLossPensionTerminationSettlementChargeRecognizedInOtherExpenseNetOfTax"/>
  <xs:element name="DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossDeferredTaxExpense" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossDeferredTaxExpense"/>
  <xs:element name="DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostAmortizationPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostAmortizationPeriod"/>
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsPaidInCashUponVesting" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsPaidInCashUponVesting"/>
  <xs:element name="PaymentForStockOptionsVested" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_PaymentForStockOptionsVested"/>
  <xs:element name="IncomeTaxReconciliationTaxCreditsNetOfAmortization" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_IncomeTaxReconciliationTaxCreditsNetOfAmortization"/>
  <xs:element name="EffectiveIncomeTaxRateReconciliationTaxCreditNetOfAmortization" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_EffectiveIncomeTaxRateReconciliationTaxCreditNetOfAmortization"/>
  <xs:element name="IncomeTaxReconciliationNondeductibleExpenseLifeInsuranceIncreaseInSurrenderValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_IncomeTaxReconciliationNondeductibleExpenseLifeInsuranceIncreaseInSurrenderValue"/>
  <xs:element name="EffectiveIncomeTaxRateReconciliationNondeductibleExpenseIncreaseInSurrenderValueOfBankOwnedLifeInsurance" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseIncreaseInSurrenderValueOfBankOwnedLifeInsurance"/>
  <xs:element name="DeferredTaxAssetsAllowanceForCreditLossesOnUnfundedCommitments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DeferredTaxAssetsAllowanceForCreditLossesOnUnfundedCommitments"/>
  <xs:element name="DeferredTaxAssetsSolarTaxCreditInvestments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DeferredTaxAssetsSolarTaxCreditInvestments"/>
  <xs:element name="DeferredTaxAssetsLeaseLiability" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DeferredTaxAssetsLeaseLiability"/>
  <xs:element name="DeferredTaxLiabilitiesDeferredLoanCosts" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DeferredTaxLiabilitiesDeferredLoanCosts"/>
  <xs:element name="DeferredTaxLiabilitiesPensionBenefits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DeferredTaxLiabilitiesPensionBenefits"/>
  <xs:element name="SolarTaxCreditInvestmentsGross" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SolarTaxCreditInvestmentsGross"/>
  <xs:element name="AccumulatedAmortizationOnSolarTaxCreditInvestments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_AccumulatedAmortizationOnSolarTaxCreditInvestments"/>
  <xs:element name="SolarTaxCreditInvestmentsNet" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SolarTaxCreditInvestmentsNet"/>
  <xs:element name="UnfundedCommitmentsForSolarTaxCreditInvestments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_UnfundedCommitmentsForSolarTaxCreditInvestments"/>
  <xs:element name="CollateralDependentEvaluatedLoansFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CollateralDependentEvaluatedLoansFairValueDisclosure"/>
  <xs:element name="CertificatesOfDepositFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CertificatesOfDepositFairValueDisclosure"/>
  <xs:element name="DebtSecuritiesHeldToMaturitySecuritiesFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebtSecuritiesHeldToMaturitySecuritiesFairValueDisclosure"/>
  <xs:element name="AccruedInterestReceivableFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_AccruedInterestReceivableFairValueDisclosure"/>
  <xs:element name="TierOneRiskBasedCapitalRequiredForCapitalConservationBufferToRiskWeightedAssets" type="dtr:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TierOneRiskBasedCapitalRequiredForCapitalConservationBufferToRiskWeightedAssets"/>
  <xs:element name="CommonEquityTierOneRiskBasedCapitalRequiredForCapitalConservationBufferToRiskWeightedAssets" type="dtr:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CommonEquityTierOneRiskBasedCapitalRequiredForCapitalConservationBufferToRiskWeightedAssets"/>
  <xs:element name="TierOneLeverageCapitalForCapitalConservationBufferToAverageAssets" type="dtr:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TierOneLeverageCapitalForCapitalConservationBufferToAverageAssets"/>
  <xs:element name="TierOneLeverageCapitalRequiredForCapitalConservationBufferToAverageAssets" type="dtr:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_TierOneLeverageCapitalRequiredForCapitalConservationBufferToAverageAssets"/>
  <xs:element name="FinancingReceivableModificationsWeightedAverageInterestRate" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FinancingReceivableModificationsWeightedAverageInterestRate"/>
  <xs:element name="ThresholdPeriodOfDelinquencyAfterWhichLoanIsPlacedOnNonaccrualStatus" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ThresholdPeriodOfDelinquencyAfterWhichLoanIsPlacedOnNonaccrualStatus"/>
  <xs:element name="FinancingReceivableThresholdPrincipalAmountOfNonaccrualLoansEvaluatedIndividuallyForImpairment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FinancingReceivableThresholdPrincipalAmountOfNonaccrualLoansEvaluatedIndividuallyForImpairment"/>
  <xs:element name="LoanTerm" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LoanTerm"/>
  <xs:element name="LoanToValueRatio" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_LoanToValueRatio"/>
  <xs:element name="NumberOfCategoriesUtilizedUnderRiskManagementApproachOfDiversifiedInvesting" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfCategoriesUtilizedUnderRiskManagementApproachOfDiversifiedInvesting"/>
  <xs:element name="AvailableForSaleSecuritiesTransfersToHeldToMaturity" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_AvailableForSaleSecuritiesTransfersToHeldToMaturity"/>
  <xs:element name="NumberOfDebtSecuritiesAvailableForSale" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfDebtSecuritiesAvailableForSale"/>
  <xs:element name="MortgageLoansInProcessOfForeclosureNumberOfLoans" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_MortgageLoansInProcessOfForeclosureNumberOfLoans"/>
  <xs:element name="NonaccrualLoansWithRecentHistoryOfDelinquencyGreaterThan90Days" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NonaccrualLoansWithRecentHistoryOfDelinquencyGreaterThan90Days"/>
  <xs:element name="FinancingReceivableThresholdPrincipalAmountOfCollateralDependentLoansEvaluatedIndividually" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FinancingReceivableThresholdPrincipalAmountOfCollateralDependentLoansEvaluatedIndividually"/>
  <xs:element name="ThresholdPeriodForWriteOffOfFinancingReceivableThatHaveBeenOverdrawn" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ThresholdPeriodForWriteOffOfFinancingReceivableThatHaveBeenOverdrawn"/>
  <xs:element name="NumberOfLoanRelationshipsUpgraded" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfLoanRelationshipsUpgraded"/>
  <xs:element name="NumberOfLoanRelationshipsDowngraded" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfLoanRelationshipsDowngraded"/>
  <xs:element name="FinancingReceivableIndividuallyEvaluatedAmortizedCostBasis" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FinancingReceivableIndividuallyEvaluatedAmortizedCostBasis"/>
  <xs:element name="FinancingReceivableIndividuallyEvaluatedAllowanceForCreditLosses" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FinancingReceivableIndividuallyEvaluatedAllowanceForCreditLosses"/>
  <xs:element name="CollateralDependentFinancingReceivableIndividuallyEvaluatedAmortizedCostBasis" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CollateralDependentFinancingReceivableIndividuallyEvaluatedAmortizedCostBasis"/>
  <xs:element name="NumberOfLoanModified" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfLoanModified"/>
  <xs:element name="MaximumPercentageOfCombinedBrokerDeposits" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_MaximumPercentageOfCombinedBrokerDeposits"/>
  <xs:element name="MaximumAmountOfCombinedBrokerDeposits" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_MaximumAmountOfCombinedBrokerDeposits"/>
  <xs:element name="ContractualMaturitiesInterestBearingDomesticDepositBrokeredOver12Months" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ContractualMaturitiesInterestBearingDomesticDepositBrokeredOver12Months"/>
  <xs:element name="FederalHomeLoanBankOvernightBorrowings" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalHomeLoanBankOvernightBorrowings"/>
  <xs:element name="FederalHomeLoanBankMunicipalLettersOfCredit" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalHomeLoanBankMunicipalLettersOfCredit"/>
  <xs:element name="FederalHomeLoanBankMaturityPeriodLongTermFixedRate" type="xbrli:dateItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalHomeLoanBankMaturityPeriodLongTermFixedRate"/>
  <xs:element name="NumberOfOtherFinancialInstitutions" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfOtherFinancialInstitutions"/>
  <xs:element name="NumberOfQualifiedInstitutionalInvestors" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfQualifiedInstitutionalInvestors"/>
  <xs:element name="DebtIssuanceCostsAmortizationPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebtIssuanceCostsAmortizationPeriod"/>
  <xs:element name="DebtInstrumentFloatingRate" type="dtr:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DebtInstrumentFloatingRate"/>
  <xs:element name="RequiredAgeToParticipateInDefinedBenefitPlan" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_RequiredAgeToParticipateInDefinedBenefitPlan"/>
  <xs:element name="DefinedBenefitPlanAnnuityContractToTransferProjectedBenefitObligationsPurchaseAmount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DefinedBenefitPlanAnnuityContractToTransferProjectedBenefitObligationsPurchaseAmount"/>
  <xs:element name="FrozenPlanCompensationRate" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FrozenPlanCompensationRate"/>
  <xs:element name="RequiredServicePeriodToParticipateInDefinedContributionPlan" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_RequiredServicePeriodToParticipateInDefinedContributionPlan"/>
  <xs:element name="MinimumOfServiceHours" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_MinimumOfServiceHours"/>
  <xs:element name="PaymentAuthorizedForPurchaseOfAdditionalSharesForEsop" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_PaymentAuthorizedForPurchaseOfAdditionalSharesForEsop"/>
  <xs:element name="EmployeeStockOwnershipPlanESOPNumberOfUnearnedShares" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_EmployeeStockOwnershipPlanESOPNumberOfUnearnedShares"/>
  <xs:element name="DefinedContributionPlanVestingPeriod" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DefinedContributionPlanVestingPeriod"/>
  <xs:element name="PeriodInWhichLumpSumBenefitWillBePaidInEventOfDeathDisabilityOrTermination" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_PeriodInWhichLumpSumBenefitWillBePaidInEventOfDeathDisabilityOrTermination"/>
  <xs:element name="NumberOfAnnualInstallmentsInWhichBenefitWillBePaid" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NumberOfAnnualInstallmentsInWhichBenefitWillBePaid"/>
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDateNumber" type="xbrli:sharesItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedToDateNumber"/>
  <xs:element name="ShareBasedCompensationArrangementStrikePriceOfStockOptions" type="dtr:percentItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_ShareBasedCompensationArrangementStrikePriceOfStockOptions"/>
  <xs:element name="AllowanceForLoanAndLeaseLossPeriodIncreaseDecrease" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_AllowanceForLoanAndLeaseLossPeriodIncreaseDecrease"/>
  <xs:element name="AllowanceForLoanAndLeaseLossesPeriodIncreaseDecreasePercentage" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_AllowanceForLoanAndLeaseLossesPeriodIncreaseDecreasePercentage"/>
  <xs:element name="RiskParticipationAgreementsParticipationOutNumberOfFinancialInstitutionCounterparties" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_RiskParticipationAgreementsParticipationOutNumberOfFinancialInstitutionCounterparties"/>
  <xs:element name="DerivativeTermOfContractParticipationsout" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DerivativeTermOfContractParticipationsout"/>
  <xs:element name="OffBalanceSheetCreditExposureRiskParticipationsOut" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_OffBalanceSheetCreditExposureRiskParticipationsOut"/>
  <xs:element name="RiskParticipationAgreementsParticipationInNumberOfFinancialInstitutionCounterparties" type="xbrli:integerItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_RiskParticipationAgreementsParticipationInNumberOfFinancialInstitutionCounterparties"/>
  <xs:element name="OffBalanceSheetCreditExposureRiskParticipationsIn" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="gcbc_OffBalanceSheetCreditExposureRiskParticipationsIn"/>
  <xs:element name="CollateralDependentEvaluatedLoansMeasurementInput" type="xbrli:decimalItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CollateralDependentEvaluatedLoansMeasurementInput"/>
  <xs:element name="PercentageOfIncreaseInCashDividendRate" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_PercentageOfIncreaseInCashDividendRate"/>
  <xs:element name="CompanyDoesNotHoldTheFirstMortgageMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CompanyDoesNotHoldTheFirstMortgageMember"/>
  <xs:element name="CompanyHoldsTheFirstMortgageMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_CompanyHoldsTheFirstMortgageMember"/>
  <xs:element name="DeferredBaseSalaryMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DeferredBaseSalaryMember"/>
  <xs:element name="DefinedContributionPlanMatchingTrancheOneMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DefinedContributionPlanMatchingTrancheOneMember"/>
  <xs:element name="DefinedContributionPlanMatchingTrancheTwoMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DefinedContributionPlanMatchingTrancheTwoMember"/>
  <xs:element name="EmployeeStockOwnershipPlanMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_EmployeeStockOwnershipPlanMember"/>
  <xs:element name="FederalHomeLoanBankMaturityPeriodOneMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalHomeLoanBankMaturityPeriodOneMember"/>
  <xs:element name="FederalHomeLoanBankMaturityPeriodThreeMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalHomeLoanBankMaturityPeriodThreeMember"/>
  <xs:element name="FederalHomeLoanBankMaturityPeriodTwoMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalHomeLoanBankMaturityPeriodTwoMember"/>
  <xs:element name="FederalHomeLoanBankZeroPercentDevelopmentAdvanceProgramMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalHomeLoanBankZeroPercentDevelopmentAdvanceProgramMember"/>
  <xs:element name="FederalReserveBankMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_FederalReserveBankMember"/>
  <xs:element name="GreeneCountyCommercialBankMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_GreeneCountyCommercialBankMember"/>
  <xs:element name="MortgageBackedSecuritiesMultiFamilyMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_MortgageBackedSecuritiesMultiFamilyMember"/>
  <xs:element name="O2025ADividendsMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_O2025ADividendsMember"/>
  <xs:element name="O2026ADividendsMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_O2026ADividendsMember"/>
  <xs:element name="O2026Q4DividendsMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_O2026Q4DividendsMember"/>
  <xs:element name="OtherFinancialInstitutionMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_OtherFinancialInstitutionMember"/>
  <xs:element name="OtherStatesMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_OtherStatesMember"/>
  <xs:element name="PhantomStockOptionAndLongTermIncentivePlan2011Member" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_PhantomStockOptionAndLongTermIncentivePlan2011Member"/>
  <xs:element name="SubordinatedNotePurchaseAgreementOneMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SubordinatedNotePurchaseAgreementOneMember"/>
  <xs:element name="SubordinatedNotePurchaseAgreementTwoMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SubordinatedNotePurchaseAgreementTwoMember"/>
  <xs:element name="NontaxableOrNondeductibleItemsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_NontaxableOrNondeductibleItemsAbstract"/>
  <xs:element name="SecuritiesAvailableForSaleAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesAvailableForSaleAbstract"/>
  <xs:element name="SecuritiesHeldToMaturityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_SecuritiesHeldToMaturityAbstract"/>
<!-- [WMV7][pNrszNDuX4bmDMu5TBol+OW9QDCCscDN0DBQKkkz8d0GAklxKhudc0eNTcs29JTabIfI8WxflaEhP+YUoQqtbbFcL5cJug7M+Z+Acy6wOoWlsjJX/CCjV6z8aTxKiz+zlT7rEfpE4k95g5mb+2QGa6bdfOeIIPJEFEsrrnXlBjqFiAbf9hBlZ83Ovmfa1D8KiXeN+g6VkxgD+2EbxMWVwVktgzp4d/tIq3qqNs5XCfcg068lG5WvMLBXNCdr/Glag4nJTasAzFY5vMVOebWSrW/ZI5Ds7yvXpuOQorF1iI0VWYyyEjmuYsDEBcDx9vQ0JAXmTpAylnPObfR0R4aczNH5pkF3ju8Jdbt7E5jRhGJ5wg==] CSR-->
  <xs:element name="DocumentAndEntityInformationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="gcbc_DocumentAndEntityInformationAbstract"/>
</xs:schema>
