The source code is, of course, the actual engine parts of this project. After all, it is a software project.
curl and libcurl are written in C.
You can always find the source code for the latest curl and libcurl release on the official curl website curl.se. There are also checksums and digital signatures provided to help you verify that what ends up on your local system when you download the files, are the same bytes in the same order as were originally uploaded there by the curl team.
git clone https://github.com/curl/curl.git
This will get the latest curl code downloaded and unpacked in a directory on your local system.