A pattern for forking a repository