Remove remote refs & validate git repository Remove function for getting remote url on adding repository and only validate git repository.