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