git Distributed source code management tool
git-lite Distributed source code management tool (lite flavor)
git-tiny Distributed source code management tool (tiny flavor)
pkg rquery %dn <git_flavor># mv /usr/src /usr/src.bak
# git clone --branch releng/13.2 https://git.FreeBSD.org/src.git /usr/src
This might not work if you have a ZFS system, /usr/src/ is a separate dataset and you cannot rename it this way. I'd just nuke it, no reason to keep a 'backup' of it,Code:# mv /usr/src /usr/src.bak
rm -rf /usr/src/* /usr/src/.[^.]*