This is about pure-and-simple Git; NOT the security concerns of using third party services like Github or Gitlab.
While working on a closed source security project, during a meeting, one of the senior developers on a sister team implied that Git makes code less secure, especially with security-related products. This was pretty shocking for me to hear, and quite frankly, I don't believe it. (And yet this strange viewpoint from the senior developer was not met by clear and immediate incredulity by others present.) This senior developer did not comment further, and does not work in the same location as me; and is generally pretty unreachable. (I also don't want him to think I'm trying to discredit him, but rather seek to understand.)
And so I now question my understanding of the security of Git, however baseless it may be.
Is there one or more valid security concern(s), however obscure, about using Git?