Git clone without subdirectory
2 May 2013
When you clone a GIT repository, by default it creates a new sub-folder by the name of your repository. This is highly annoing when you're deploying a repo to your webserver. Instead, you want your repo to exist in a specified folder.
To do this, just take note of the third option of the git clone command:
Syntax: git clone [git url] [local folder]
git clone https://github.com/username/repo.git .
This command will clone said repository into your current folder.