title: Unknown option git config --local reported by Jenkins
body: <p>I'm setting up CI for a C# project hosted on GitHub in a private repo.<br>
  Git is installed on master CentOS machine, MSBuild on slave windows.</p>
  
  <p>I've created account on GitHub, and added it to my private repo.<br>
  When I'm setting up source control on Jenkins, I've entered URL (as <code>https://github.com/.../repo.git</code>) and entered credentials with the new account.</p>
  
  <p>Jenkins reports:</p>
  
  <pre><code>Failed to connect to repository : Command "git config --local credential.helper store --file=/tmp/git2956041026506359040.credentials" returned status code 129:
  stdout: 
  stderr: error: unknown option `local'
  usage: git config [options]
  
  Config file location
      --global              use global config file
      --system              use system config file
      -f, --file &lt;FILE&gt;     use given config file
  
  Action
      --get                 get value: name [value-regex]
      --get-all             get all values: key [value-regex]
      --get-regexp          get values for regexp: name-regex [value-regex]
      --replace-all         replace all matching variables: name value [value_regex]
      --add                 adds a new variable: name value
      --unset               removes a variable: name [value-regex]
      --unset-all           removes all matches: name [value-regex]
      --rename-section      rename section: old-name new-name
      --remove-section      remove a section: name
      -l, --list            list all
      -e, --edit            opens an editor
      --get-color &lt;slot&gt;    find the color configured: [default]
      --get-colorbool &lt;slot&gt;
                            find the color setting: [stdout-is-tty]
  
  Type
      --bool                value is "true" or "false"
      --int                 value is decimal number
      --bool-or-int         value is --bool or --int
      --path                value is a path (file or directory name)
  
  Other
      -z, --null            terminate values with NUL byte
  </code></pre>
  
  <p>If I log into <code>master</code> and try the same command on root console I get the same error, <code>--local</code> is not an option for <code>git config</code>.</p>