add method to check if two repo are same

Added a check_sample_repository method to check if two repository are the same.