Clone or update git repositories and ensure they are available on the path.