Discovering the git repository(ies) for instances