git command git clone details code example Example: take clone from gitbash $ git clone https://github.com/libgit2/libgit2 mylibgit