Preventing cloned repository from being checked in