git clone https://github.com/foo/repo_name.git new_directory_name
git clone git branch -a git checkout
git clone --bare https://github.com/example/example
git clone /bare/repo/dir