clone a specific folder from git code example

Example 1: git clone with folder name

git clone [email protected]:whatever folder-name

Example 2: git clone with different folder name

git clone https://github.com/sferik/sign-in-with-twitter.git signin

Example 3: how to git clone into a directory

git clone [email protected]:whatever folder-name
git clone [email protected]:whatever .

Example 4: git clone with different folder name

With same Git Repository name
git clone [email protected]:whatever folder-name

With Different Git Repository name
git clone https://github.com/sferik/sign-in-with-twitter.git signin