The team behind kvm-ksm is using the Mercurial software to manage the source code.
hg clone https://archive.srchub.org/hg/kvm-ksm
Find here more details on how to access kvm-ksm source code.