The Minimal Git Workflow I Use in My Research#

Fig. 1. The git workflow I used in my research [1]. This git workflow consists of the following three parts as shown in Fig. 2-4.#

Fig. 2. Create a branch. Create a branch my-feature
when you need to make a change; Make changes in this branch you just created; then commit them; Push the commits to Github.#

Fig. 3. Make a pull request. Push the commit to the remote; create a pull request from my-feature
to main
; on your local machine, switch to the main, and pull from the remote main.#

Fig. 4. Handle exceptions.#
References#
[1] “十分钟学会正确的github工作流,和开源作者们使用同一套流程” YouTube, uploaded by 码农高天, April 13, 2024, https://youtu.be/uj8hjLyEBmU?si=S29XiEkhG3of9y83
[2] “Introduction to version control with Git/Recording changes” CodeRefinery, Mar 31, 2025, https://coderefinery.github.io/git-intro/commits/