fork repository github locally code example
Example 1: fork on github code
$ git clone https://hostname/YOUR-USERNAME/Spoon-Knife
Example 2: fork on github code
$ git remote -v
> origin https://hostname/YOUR_USERNAME/YOUR_FORK.git (fetch)
> origin https://hostname/YOUR_USERNAME/YOUR_FORK.git (push)