title: Just download .git directory from github
body: <p>When you execute <code>git init</code> in a new directory or an existing directory, Git creates a <code>.git</code> directory, where almost all the contents of the Git store and operation are located in the directory.<br>
  If you want to back up or copy a library, basically copy this directory to other places.</p>
  
  <p>And now, I just want to download <code>.git</code> directory include contents from GitHub:</p>
  
  <ul>
  <li>I know the link like <a href="https://github.com/google/gson.git" rel="nofollow noreferrer">https://github.com/google/gson.git</a>, </li>
  <li>then I can download the <code>.git</code> files through Python language using request. (I don't want to pass by git long command)</li>
  </ul>
  
  <p>How do I find the .git directory from GitHub or my private gitlib and how to download it?</p>