If we remove the trailing CRLF from the string, WinHTTP will add it automatically. As an added bonus, this will reduce the size of the libgit2 compiled binary by 2 bytes! :icecream: