The git clone command is used to clone or copy a remote repository onto a destination such as your laptop or a remote server.
Git supports ssh and https network protocols.
Git clone ssh
git clone ssh://folauk@gmail.com/path/to/my-project.git // example git clone ssh://git@github.com:folaulau/spring-data.git
Git clone https
git clone http[s]://host.xz[:port]/path/to/repo.git // example git clone https://github.com/folaulau/spring-data.git