No; that's the public header.  It's mirrored in (for example) https://github.com/libgit2/libgit2sharp/blob/aa94e9d9326e9318feb89e8c9f4300b0bf60f6ca/LibGit2Sharp/Core/GitCredentialType.cs