clone

Function clone 

Source
pub fn clone() -> WrapCommand
Expand description

Clones a repository into a newly created directory, creates remote-tracking branches for each branch in the cloned repository, and creates and checks out an initial branch that is forked from the cloned repository’s currently active branch Git doc