Release

November 8, 20181 Minute Read

Git Wire Protocol v2 Support

GitHub now supports version 2 of the Git wire protocol. An immediate benefit of the new protocol is that it enables reference filtering on the server-side, this can reduce the number of bytes required to fulfill operations like git fetch on large repositories. [source, source, source, ]

To utilize the new protocol, your git client must be at or beyond version 2.18, released June 2018 and the protocol version must be specified in your git client configuration:

$ git config --global protocol.version 2

For more information about the differences between version 1 and 2, please see the official git documentation on the changes.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Git Wire Protocol v2 Support - GitHub Changelog