title: How to git clone with specifying the destination directory without its project name?
body: <p>I uses macOS and Ubuntu. I want to git clone a certain project <code>https://github.com/Project/project.git</code> to a specific directory <code>$HOME/git</code>. I saw this page: <a href="https://stackoverflow.com/questions/651038/how-do-you-clone-a-git-repository-into-a-specific-folder">How do you clone a Git repository into a specific folder?</a>, but it requires to explicitly specify its project name like: <code>git clone https://github.com/Project/project.git $HOME/git/project</code>. How can I git clone them without specifying its project name?</p>
  
  <p>[Add1] If I git clone like: <code>git clone https://github.com/Project/project.git $HOME/git</code>
  then I encountered <code>fatal: destination path '/home/paalon/git' already exists and is not an empty directory.
  </code>
  [Add2] I want to clone git-managed projects under <code>$HOME/git</code> directory. I want to set the state <code>ls $HOME/git</code> shows like <code>project1/   project2/   project3/</code>.</p>