github fork project from commit code example
Example 1: fork on github code
$ git clone https://hostname/YOUR-USERNAME/Spoon-Knife
> Cloning into `Spoon-Knife`...
> remote: Counting objects: 10, done.
> remote: Compressing objects: 100% (8/8), done.
> remove: Total 10 (delta 1), reused 10 (delta 1)
> Unpacking objects: 100% (10/10), done.
Example 2: fork on github code
$ git clone https://hostname/YOUR-USERNAME/Spoon-Knife