Repo template was at the wrong dir.
Added -f to git checkout

  Uncommited changes prevented git from changing to dev branch.
  Added -f to force it.