how to clone repository github to local machine code example Example: clone code github $ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY