Error in Switching to master branch

Since this is a fresh installation , if you have the time start with a clean slate using this method:

This will avoid the hassle of bench switch-to-master. You get a new instance with master branch for both frappe and erpnext.