add Repository.has_moved_to_git check