git clone a folder from repository code example
Example 1: git clone with folder name
git clone [email protected]:whatever folder-name
Example 2: git clone in current directory
git clone [email protected]:user/my-project.git .
git clone [email protected]:whatever folder-name
git clone [email protected]:user/my-project.git .