Add git and repo; update the dependency system