First date with git-clone

Unraveling the cloning basics

Figure 1: Schematised repository structure of my-repo, located at GitHub. This image is made by the author using diagrams.
$ git clone https://github.com/<git_username>/my-repo.git
Figure 2: Illustrates the git-clone operation that results in a new repository located on your machine. This image is made by the author using diagrams.
Figure 3: Illustrates origin — a default remote connection created when a clone operation is performed. This image is made by the author using diagrams.
$ git remote -vorigin https://github.com/<git_username>/my_repo.git (fetch)
origin https://github.com/<git_username>/my_repo.git (push)

Applied Mathematician | Data Person | Machine Learning | NLP

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store