how can I update /usr/src to 12.4-RELEASE?

From: Scott Bennett <bennett_at_sdf.org>
Date: Tue, 06 Dec 2022 08:48:38 UTC
     My problem is that I really know almost nothing about how git
works, so I don't know how to update FreeBSD from source this time
to get from 12.3-RELEASE to 12.4-RELEASE.  releng/12.2 and releng/12.3
were both branches, so a "git switch releng/12.3" did the trick to get
to the then-new /usr/src.  However, releng/12.4 does not exist, and
release/12.4.0 is just a new tag, not a branch.

Script started on Tue Dec  6 00:39:48 2022
hellas#	cd /usr/src
hellas#	time env -u http_proxy -u https_proxy git pull
remote: Enumerating objects: 1210, done.
remote: Counting objects: 100% (548/548), done.
remote: Compressing objects: 100% (2/2), done.
Receiving objects:   0% (1/1210)Receiving objects:   1% (13/1210)Receiving objects:   2% (25/1210)Receiving objects:   3% (37/1210)Receiving objects:   4% (49/1210)Receiving objects:   5% (61/1210)Receiving objects:   6% (73/1210)Receiving objects:   7% (85/1210)Receiving objects:   8% (97/1210)Receiving objects:   9% (109/1210)Receiving objects:  10% (121/1210)Receiving objects:  11% (134/1210)Receiving objects:  12% (146/1210)Receiving objects:  13% (158/1210)Receiving objects:  14% (170/1210)Receiving objects:  15% (182/1210)Receiving objects:  16% (194/1210)Receiving objects:  17% (206/1210)Receiving objects:  18% (218/1210)Receiving objects:  19% (230/1210)Receiving objects:  20% (242/1210)Receiving objects:  21% (255/1210)Receiving objects:  22% (267/1210)Receiving objects:  23% (279/1210)Receiving objects:  24% (291/1210)Receiving objects:  25% (303/1210)Receiving objects:  26% (315/1210)Receiving objects:  27% (327/1210)Receiving objects:  28% (339/1210)Receiving objects:  29% (351/1210)Receiving objects:  30% (363/1210)Receiving objects:  31% (376/1210), 316.01 KiB | 609.00 KiB/sReceiving objects:  31% (380/1210), 540.01 KiB | 522.00 KiB/sReceiving objects:  32% (388/1210), 540.01 KiB | 522.00 KiB/sReceiving objects:  32% (396/1210), 764.01 KiB | 493.00 KiB/sReceiving objects:  33% (400/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  34% (412/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  35% (424/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  36% (436/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  37% (448/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  38% (460/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  39% (472/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  40% (484/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  41% (497/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  42% (509/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  43% (521/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  44% (533/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  45% (545/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  46% (557/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  47% (569/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  48% (581/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  49% (593/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  50% (605/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  51% (618/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  52% (630/1210), 988.01 KiB | 479.00 KiB/sReceiving objects:  53% (642/1210), 1.18 MiB | 471.00 KiB/s  Receiving objects:  54% (654/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  55% (666/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  56% (678/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  57% (690/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  58% (702/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  59% (714/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  60% (726/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  61% (739/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  62% (751/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  63% (763/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  64% (775/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  65% (787/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  66% (799/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  66% (806/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  67% (811/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  68% (823/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  69% (835/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  70% (847/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  71% (860/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  72% (872/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  73% (884/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  74% (896/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  75% (908/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  76% (920/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  77% (932/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  78% (944/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  79% (956/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  80% (968/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  81% (981/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  82% (993/1210), 1.18 MiB | 471.00 KiB/sReceiving objects:  83% (1005/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  84% (1017/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  85% (1029/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  86% (1041/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  87% (1053/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  88% (1065/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  89% (1077/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  90% (1089/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  91% (1102/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  92% (1114/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  93% (1126/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  94% (1138/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  95% (1150/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  96% (1162/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  97% (1174/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  98% (1186/1210), 1.40 MiB | 465.00 KiB/sReceiving objects:  99% (1198/1210), 1.40 MiB | 465.00 KiB/sremote: Total 1210 (delta 546), reused 546 (delta 546), pack-reused 662
Receiving objects: 100% (1210/1210), 1.40 MiB | 465.00 KiB/sReceiving objects: 100% (1210/1210), 1.56 MiB | 464.00 KiB/s, done.
Resolving deltas:   0% (0/799)Resolving deltas:   1% (8/799)Resolving deltas:   2% (16/799)Resolving deltas:   3% (24/799)Resolving deltas:   4% (32/799)Resolving deltas:   5% (40/799)Resolving deltas:   6% (48/799)Resolving deltas:   7% (56/799)Resolving deltas:   8% (64/799)Resolving deltas:   9% (72/799)Resolving deltas:  10% (80/799)Resolving deltas:  11% (88/799)Resolving deltas:  12% (96/799)Resolving deltas:  13% (104/799)Resolving deltas:  14% (112/799)Resolving deltas:  15% (120/799)Resolving deltas:  16% (128/799)Resolving deltas:  17% (136/799)Resolving deltas:  18% (144/799)Resolving deltas:  19% (152/799)Resolving deltas:  20% (160/799)Resolving deltas:  21% (168/799)Resolving deltas:  22% (176/799)Resolving deltas:  23% (184/799)Resolving deltas:  24% (193/799)Resolving deltas:  25% (200/799)Resolving deltas:  26% (208/799)Resolving deltas:  27% (216/799)Resolving deltas:  28% (224/799)Resolving deltas:  29% (232/799)Resolving deltas:  30% (240/799)Resolving deltas:  31% (248/799)Resolving deltas:  32% (256/799)Resolving deltas:  33% (264/799)Resolving deltas:  34% (272/799)Resolving deltas:  35% (280/799)Resolving deltas:  36% (288/799)Resolving deltas:  37% (296/799)Resolving deltas:  38% (304/799)Resolving deltas:  39% (312/799)Resolving deltas:  40% (320/799)Resolving deltas:  41% (328/799)Resolving deltas:  42% (336/799)Resolving deltas:  43% (344/799)Resolving deltas:  44% (352/799)Resolving deltas:  45% (360/799)Resolving deltas:  46% (368/799)Resolving deltas:  47% (376/799)Resolving deltas:  48% (384/799)Resolving deltas:  49% (392/799)Resolving deltas:  50% (400/799)Resolving deltas:  51% (408/799)Resolving deltas:  52% (416/799)Resolving deltas:  53% (424/799)Resolving deltas:  54% (432/799)Resolving deltas:  55% (440/799)Resolving deltas:  56% (448/799)Resolving deltas:  57% (456/799)Resolving deltas:  58% (464/799)Resolving deltas:  59% (472/799)Resolving deltas:  60% (480/799)Resolving deltas:  61% (488/799)Resolving deltas:  62% (496/799)Resolving deltas:  63% (504/799)Resolving deltas:  64% (512/799)Resolving deltas:  65% (520/799)Resolving deltas:  66% (528/799)Resolving deltas:  67% (536/799)Resolving deltas:  68% (544/799)Resolving deltas:  69% (552/799)Resolving deltas:  70% (560/799)Resolving deltas:  71% (568/799)Resolving deltas:  72% (576/799)Resolving deltas:  73% (584/799)Resolving deltas:  74% (592/799)Resolving deltas:  74% (594/799)Resolving deltas:  75% (600/799)Resolving deltas:  76% (608/799)Resolving deltas:  77% (616/799)Resolving deltas:  78% (624/799)Resolving deltas:  79% (632/799)Resolving deltas:  80% (640/799)Resolving deltas:  81% (648/799)Resolving deltas:  82% (656/799)Resolving deltas:  83% (664/799)Resolving deltas:  83% (669/799)Resolving deltas:  84% (672/799)Resolving deltas:  85% (680/799)Resolving deltas:  86% (688/799)Resolving deltas:  87% (696/799)Resolving deltas:  88% (704/799)Resolving deltas:  89% (712/799)Resolving deltas:  90% (720/799)Resolving deltas:  91% (728/799)Resolving deltas:  92% (736/799)Resolving deltas:  93% (744/799)Resolving deltas:  94% (752/799)Resolving deltas:  95% (760/799)Resolving deltas:  96% (768/799)Resolving deltas:  97% (776/799)Resolving deltas:  98% (784/799)Resolving deltas:  99% (792/799)Resolving deltas:  99% (793/799)Resolving deltas: 100% (799/799)Resolving deltas: 100% (799/799), completed with 233 local objects.
From https://git.FreeBSD.org/src
   e92d69234579..3cf97e91fac5  main                                               -> origin/main
   f30300703245..78d44cb4b533  stable/12                                          -> origin/stable/12
   c6ec1b441ad3..5b6f0a5012e9  stable/13                                          -> origin/stable/13
   dafdd7863e9e..458532c2dd24  vendor/llvm-project/release-15.x                   -> origin/vendor/llvm-project/release-15.x
   6a6bd493988c..21bd7661334c  vendor/openzfs/zfs-2.1-release                     -> origin/vendor/openzfs/zfs-2.1-release
 * [new tag]                   release/12.4.0                                     -> release/12.4.0
 * [new tag]                   vendor/llvm-project/llvmorg-15.0.6-0-g088f33605d8a -> vendor/llvm-project/llvmorg-15.0.6-0-g088f33605d8a
Already up to date.
1.713u 3.798s 0:46.96 11.7%	2994+430k 22115+703io 4848pf+0w
hellas#	time git switch release/12.4.0
fatal: a branch is expected, got tag 'release/12.4.0'
0.000u 0.007s 0:00.07 0.0%	0+0k 21+1io 1pf+0w
hellas#	git branch
  releng/12.2
* releng/12.3
hellas#	exit
exit

Script done on Tue Dec  6 00:51:36 2022

     I need to update my system from source rather than with freebsd-
update.  If someone who understands git were to explain to me what to do
to get /usr/src brought up to 12.4-RELEASE in this case, I would be very
grateful.
     Thanks in advance for any help here.


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:   bennett at sdf.org   *xor*   bennett at freeshell.org  *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************