All Free Pascal sources are in gitlab since 2022, and can be downloaded anonymously from the Gitlab server. With a suitable git client, the following locations can be used:
https://gitlab.com/freepascal.org/fpc/source.git
This repository contains the latest sources of the compiler, RTL and packages. This is the active development branch. All commits from the previously used subversion repository have been converted.
The documentation and all examples from the documentation are in the following repository
https://gitlab.com/freepascal.org/fpc/documentation.git
All the files needed to make a release can be retrieved from
https://gitlab.com/freepascal.org/fpc/build.git
This repository contains external links to the other 2 repositories, and contains all scripts, demos and other files needed to construct a new release of Free Pascal.
Free Pascal maintains a fixes branch, which is used to create new releases after a major version change.