I have a repo called as 'color-palette ( https://github.com/3gwebtrain/color-palette.git) and it has other branches too.
I would like to clone one of the branch called same-color
to my local system. But not working.
the command i used is :
git checkout -b https://github.com/3gwebtrain/color-palette.git origin/same-color
But this is not working. getting error as :
fatal: Not a git repository (or any of the parent directories): .git
what is wrong here?