Daily git use process in work:
  1. There’s a dev branch, write new functionality, and a dev branch, write functionality;
  2. The functionality is written and merged into the dev branch;
  3. Merge the new functions in dev branch into test branch (or release) for testing and bug fixing;
  4. Merge the repaired test branch on master and dev
  5. Master code for a real live environment;
  6. If the live code encounters errors, open a hotfix branch to debug bugs and make emergency fixes.