General Steps of the workflow for small projects**,**
- Create a local repository
Initialize local repository to Git Repository
- Create Project Files
Stage Changes
Commit Changes
- Create a GitHub Repository
- Link Local Repository to GitHub
Push Changes to GitHub
- Create
Branch (Optional)
- Make Changes in the Branch (Optional)
Merge Branch (Optional)
- Handle
Merge Conflicts (Optional)
If you are collaborating,
- Regularly,
fetch the changes made into the remote repository into your local machine
- Push the feature branch
- Create a
pull request
- Resolve merge conflicts
- Merge the feature branch