https://github.com/kevinhm/ios-good-practices-the-lastest-version#%e5%bc%80%e5%a7%8b%e5%90%a7! Branching model
It is good practice to isolate the release code from the original branch when the app is released, and add the appropriate tag, which is especially important for distributing the app to the public (e.g. through AppStore). At the same time, feature involving a large number of commits should be done on separate branches. git-flowis a tool to help you comply with these rules. It simply adds a layer of packaging to Git's branch and tag commands to help maintain an appropriate set of branching structures, especially useful for team collaboration. All development should be done on the corresponding branch of the feature (small changes are done on the develop branch), the app version of the tag to release, and then commit to the master branch only with the following command:
git flow release fininsh <version>
Best Practices for iOS development