here’s a tip for any newer installations:
when making a new bench instance use this --frappe-branch to specify which branch of frappe you want. Suppose you want branch master for both frappe and erpnext. Then you execute
bench init frappe-bench --frappe-branch=master
later when trying to clone erpnext app, same can be done via this parameter called branch
bench get-app erpnext https://github.com/frappe/erpnext --branch master
Now you got to decide what branch you wish to stay on. If you want version 10 then branch is v10.x.x if you want version 11 it is now on master