Beaglebone Black kernel sources

I need to build a patched BBB kernel, so have unwillingly started one of
my usual vicious fights with git. The first question to answer is where
the current BBB linux kernel sources are kept - I don’t think github is
the default, though some sources can be found there. It seems to be a
choice between:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
and
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Does anyone know which of these is canonical / what the differences are
between them?

Thanks - Will

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git is
the canonical mainline and
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
is a stable fork with bug fix patches applied for some time moving
forward.

The "official" BeagleBoard.org kernel is at
http://github.com/beagleboard/kernel as a set of patches against the
stable fork.

Many thanks: that makes things a lot simpler - Will