Feature Branches

It is recommended practice that you use feature branches for each new milestone. This will allow you to keep the new milestone work separate from your main branch until it is complete. To create a feature branch for data milestone 1, you would use this Git command:

$ git branch ms1

And then check it out using the command:

$ git checkout ms1

As you work you can add and commit as normal, i.e.:

$ git add . 
$ git commit -a -m "A description of what changed"

Any commits you make will be made on the feature branch, not your main branch. You can also push this branch to GitHub:

$ git push origin ms1

Which allows you to pull it to another local repository:

$ git checkout ms1 
$ git pull origin ms1

Finally, when you have finished the milestone, you’ll want to merge your new changes with the main branch:

$ git checkout main 
$ git merge ms1 

And push the newly expanded main branch to GitHub:

$ git push origin main

Finally, you’ll need to create a release to turn in.