A hybrid nanomaterial consisting of graphene oxide (GO) nanomaterial covalently conjugated to cationic quaternized chitosan is provided. Method of preparing the hybrid nanomaterial, an antimicrobial composition containing the hybrid nanomaterial, and use of the antimicrobial composition in inhibiting growth of microorganisms in an environment are also provided.