# Git protocol.version 2

**URL:** https://travis-ci.community/t/git-protocol-version-2/2378
**Category:** Environments
**Created:** [February 19, 2019, 5:26pm UTC](https://travis-ci.community/t/git-protocol-version-2/2378 "2019-02-19T17:26:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kittaakos](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kittaakos/32/1138_2.png) [@kittaakos](https://travis-ci.community/u/kittaakos)
#### Post date: [February 19, 2019, 5:26pm UTC](https://travis-ci.community/t/git-protocol-version-2/2378/1 "2019-02-19T17:26:37Z")

</div>

Hi there,

a couple of tests started to fail recently with the following error on both macOS and Linux:  
`fatal: unknown value for config 'protocol.version': 2`

After logging `git config protocol.version` to the console, I can confirm you are using the version `2`.

Is this a recent change? How can I disable it, or set back to the default `0`? We are testing Git functionality, and this causes issues.

Thank you!

* * *

**Edit** : here is the PR with the change: [https://github.com/travis-ci/travis-build/pull/1659](https://github.com/travis-ci/travis-build/pull/1659)

---

<div class="post-metadata">

### Author: ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)
#### Post date: [February 19, 2019, 6:05pm UTC](https://travis-ci.community/t/git-protocol-version-2/2378/2 "2019-02-19T18:05:49Z")

</div>

I’m going to resolve this as a duplicate of

> [@Got to fail carthage outdated command because of git protocol.version](https://travis-ci.community/t/got-to-fail-carthage-outdated-command-because-of-git-protocol-version/2359):
>
> My environment is as follows: language: objective-c osx\_image: xcode10.1 ~/Library/Logs/scan/MyApp.log I’m using fastlane and this is the fastlane scan log. /bin/sh -c /Users/travis/Library/Developer/Xcode/DerivedData/MyApp-bhautcgmwfkvfigchtwqqwjosuwi/Build/Intermediates.noindex/MyApp.build/Staging-iphonesimulator/MyApp.build/Script-FD5D11F2208D6019001687FC.sh \*\*\* Fetching TagListView A shell task (/usr/bin/env git fetch --prune --quiet https://b4dbac396898493bdaa671908a266a0e13e3567b@github…

---

<div class="post-metadata">

### Author: ![kittaakos](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kittaakos/32/1138_2.png) [@kittaakos](https://travis-ci.community/u/kittaakos)
#### Post date: [February 19, 2019, 6:17pm UTC](https://travis-ci.community/t/git-protocol-version-2/2378/3 "2019-02-19T18:17:29Z")

</div>

Thanks for the quick response! 🚀

Can you please answer my question before resolving it as a duplicate? Yes, both tickets describe the same problem but I would like to know if there was a change on your side or not?

By the way, the original issue does not contain any info about my question either:

> Got to fail these days suddenly and I have no idea what was changed in your environment.
