There are many potential Git workflows. The following is a basic workflow for someone working alone, using different local branches, pushing directly the master remote branch.
To make a new branch locally:
git checkout -b my_branch_name
- create and move to a new branch- Do work.
git status
- check on things.git add .
- stage changes to be committed.git commit -m "my_commit-message"
- commit changes.