libraries: add ability to clone from git repos