git supports that as global, per user, per repo or per file settings and/or gitattrs
not specific to github