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