Source Code
FreeDOS is a collection of programs and utilities, so not everything is in one place.
Many FreeDOS programs no longer have a maintainer working on them. These "orphaned" projects have been collected here: FreeDOS GitLab
You can find the source code to other FreeDOS programs directly from the web pages of each program. Some of these are on GitHub, for example. Visit our FreeDOS Software page for links to each program. Also check out the FreeDOS files archive at Ibiblio for other programs and source code.