Gitコマンド(Clone編)
カレントディレクトリ直下にリポジトリをコピーする
$ git clone <リモートリポジトリのアドレス>
例) GitHubにある、「sampleuser」ユーザの「samplerepo」リポジトリを「test」ディレクトリにコピーする
$ cd <testの親ディレクトリのパス>/test
$ git clone https://github.com/sampleuser/samplerepo-git.git
$ ls
samplerepo-git
指定したディレクトリにリポジトリの内容をコピーする
$ git clone <リモートリポジトリのアドレス> <宛先ディレクトリのパス>
例) GitHubにある、「sampleuser」ユーザの「samplerepo」リポジトリの内容を「test」ディレクトリにコピーする
$ git clone https://github.com/sampleuser/samplerepo-git.git
$ ls
src test