Learning Forking