[CentOS] How do I get the kernel srpm?

Fri Apr 27 20:35:53 UTC 2018
Robert Heller <heller at deepsoft.com>

I tried to follow the work flow shown in https://wiki.centos.org/Sources, but 
it does not seem to work:

I did this:

mkdir CentOS
pushd CentOS
git clone https://git.centos.org/git/centos-git-common.git
git clone https://git.centos.org/git/rpms/kernel.git
pushd kernel/
git checkout c6
../centos-git-common/get_sources.sh

And I got the message:

Missing metadata. Please run from inside a sources git repo

What am I missing?
                              

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services