git clone directory 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 .
Example 3: git clone repo with name
git clone https://github.com/foo/repo_name.git new_directory_name
Example 4: how to git clone into a directory
git clone [email protected]:whatever folder-name
git clone [email protected]:whatever .
Example 5: git clone without folder
git clone URLofRepo .
Example 6: take clone from gitbash
$ git clone https://github.com/libgit2/libgit2 mylibgit