title: Unable to git clone using go language
body: <p>I'm trying to clone the git/bitbucket repository using the below go-lang code snippet, but it's not working , I can't see any errors either.</p>
  <pre><code>dir, err := ioutil.TempDir(&quot;&quot;, &quot;clone-example&quot;)
  if err != nil {
      log.Fatal(err)
  }
  
  defer os.RemoveAll(dir) // clean up
  
  // Clones the repository into the given dir, just as a normal git clone does
  _, err = git.PlainClone(dir, false, &amp;git.CloneOptions{
      URL: &quot;&lt;https://git repository url***&gt;&quot;,
      Auth: &amp;http.BasicAuth{
          Username: &quot;*****&quot;,
          Password: &quot;***&quot;,
      },
  })
  fmt.Println(err)
  
  if err != nil {
      log.Fatal(err)
  }
  </code></pre>