Cloning a Repository

git clone <url> <directory> – executes md directory > cd directory > git init > git remote add > git fetch > git checkout

  • sets local master branch to track remote master branch

Cloning with Other Credentials

In the URL, add the username: https://username@github.com/username/repository.git