Main article: Git
Complete midPoint source code is maintained at GitHub. It can be cloned using the following URL:
https://github.com/Evolveum/midpoint.git
The Git page describes more details and methods how to get the source code.
Main article: Source Code Structure