Beginning with FreeBSD 14.0, the recommended method to acquire and update the ports tree is with Git.
Initial Git Clone of the Ports Tree
After installing devel/git, ensure that /usr/ports/ is entirely empty.
To clone the ports tree , execute the following command:
git clone https://github.com/freebsd/freebsd-ports /usr/ports/
Update the Ports Tree Via Git
After the initial git clone, the ports tree can be updated with the following command:
git -C /usr/ports pull