title: What is the best way to pass git config to argocd
body: <p>I am running a argocd command</p>
  <p><code>argocd repo add https://gitlab.&lt;mysite&gt;.com/&lt;repo&gt;.git</code></p>
  <p>I get error and is known one.
  Now, to avoid this, I have o set ~/.gitconfig in argocd kubernetes pod as follows</p>
  <pre><code>[http &quot;https://gitlab.&lt;mysite&gt;.com&quot;]
  proxy = http://www-proxy.&lt;proxy-server&gt;:8080
  </code></pre>
  <p>How can I pass this config to argocd command?</p>
  <p>P.S. I have tried to write the above two lines in ~/.gitconfig of argocd server pod</p>
  <p>Also, I have tried following command</p>
  <p><code>argocd repo add https://gitlab.&lt;mysite&gt;/&lt;repo&gt;.git --config '[http &quot;https://gitlab.&lt;mysite&gt;.com&quot;] \n proxy = http://www-proxy.&lt;proxy-server&gt;:8080' </code></p>