BACKGROUND: By default in git, I can get branch suggestions via tab-complete when using the checkout command. 'git checkout ' + TAB will give me a list of all branches. Unfortunately, this includes remote branches, which I don't want included. Fortunately, there is a well known fix: 'git checkout --no-guess ' + TAB. To avoid the extra typing, you can also set the environment variable GIT_COMPLETION_CHECKOUT_NO_GUESS=1. According to this question, this functionality has existed since git 2.13.
QUESTION: I am running git 2.7.4 on a Linux box. The '--no-guess' flag works for me but the GIT_COMPLETION_CHECKOUT_NO_GUESS=1 does not. Does anyone know why?
FOR THE RECORD: I am not looking for a work around, such as creating a git alias. I am specifically looking for why this documented functionality does not work for me. Please scope your response to the question at hand.
ANSWER: I am an idiot. As Mark pointed out in a comment, 2.13 > 2.7.4. I was reading it as 2.1.3 instead. Sorry for the trouble.