/usr/src and /usr/ports not git directories ?

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Sat, 18 Jan 2025 17:29:03 UTC
A fresh install of 
FreeBSD-15.0-CURRENT-amd64-20250102-3d0a0dda3a7d-274510-memstick.img
set up without much difficulty and Xorg seems to work out of the box
on my Lenovo t400s. Both src and ports directories were installed by
bsdinstall, but an attempt to run git pull in the src directory failed
with "not a git repository", even though .git entries are present.

The most visible problem is lack of a /usr/src/.git directory. Can
the existing src and ports directories be salvaged?

Thanks for reading,

bob prohaska