Cloning repo into directory

Is there an easy way of cloning a github repository into a folder in a project?

git clone <x.git> (copy from github.com/x (clone project)) will copy it into a folder with the repo name.
checkout the git commands documentation for more, like a custom directory and so on…