$ git checkout -b myFeature dev
// Go first to the branch where you want to make a copy of git checkout -b subbranch branch