Feature Branch Not Created and User Story Committed Directly in the Org's Branch

When working with user stories, you may notice that the user story is committed directly into the org’s branch and not into the feature branch created out of the master branch.

This will happen in the following scenarios:

  1. The user story is linked to a deployment flow without a Git repository and a main branch.
  2. You are using Add Metadata or Add Commits instead of Commits Files in the user story. Feature branches are created only when committing files in the user story, so you will need to use the Commit Files option.

How did we do?