Under Harvard's new Gen Ed system, no departmental classes can count for Gen Ed credit.
However, most Gov classes count for the divisional distribution requirement in the social sciences. In addition, some Gov classes count for the new Quantitative Reasoning with Data (QRD) graduation requirement; see the list at https://undergrad.gov.harvard.edu/harvard-colleges-new-distribution-and-qrd-requirements.