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