{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,14]],"date-time":"2026-07-14T04:13:35Z","timestamp":1784002415324,"version":"3.55.0"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2022,4,9]],"date-time":"2022-04-09T00:00:00Z","timestamp":1649462400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["61802179, 61932021, 61972197 and 61972193"],"award-info":[{"award-number":["61802179, 61932021, 61972197 and 61972193"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Leading-edge Technology Program of Jiangsu Natural Science Foundation","award":["BK20202001"],"award-info":[{"award-number":["BK20202001"]}]},{"DOI":"10.13039\/501100004608","name":"Natural Science Foundation of Jiangsu Province","doi-asserted-by":"crossref","award":["BK20201292"],"award-info":[{"award-number":["BK20201292"]}],"id":[{"id":"10.13039\/501100004608","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2022,7,31]]},"abstract":"<jats:p>Git, a cross-platform and open source distributed version control tool, provides strong support for non-linear development and is capable of handling everything from small to large projects with speed and efficiency. It has become an indispensable tool for millions of software developers and is the de facto standard of version control in software development nowadays. However, despite its widespread use, developers still frequently face difficulties when using various Git commands to manage projects and collaborate. To better help developers use Git, it is necessary to understand the issues and difficulties that they may encounter when using Git. Unfortunately, this problem has not yet been comprehensively studied. To fill this knowledge gap, in this article, we conduct a large-scale study on Stack Overflow, a popular Q&amp;A forum for developers. We extracted and analyzed 80,370 relevant questions from Stack Overflow, and reported the increasing popularity of the Git command questions. By analyzing the questions, we identified the Git commands that are frequently asked and those that are associated with difficult questions on Stack Overflow to help understand the difficulties developers may encounter when using Git commands. In addition, we conducted a survey to understand how developers learn Git commands in practice, showing that self-learning is the primary learning approach. These findings provide a range of actionable implications for researchers, educators, and developers.<\/jats:p>","DOI":"10.1145\/3494518","type":"journal-article","created":{"date-parts":[[2022,1,31]],"date-time":"2022-01-31T17:38:58Z","timestamp":1643650738000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":13,"title":["Do Developers Really Know How to Use Git Commands? A Large-scale Study Using Stack Overflow"],"prefix":"10.1145","volume":"31","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1213-6733","authenticated-orcid":false,"given":"Wenhua","family":"Yang","sequence":"first","affiliation":[{"name":"College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing, Jiangsu Province, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chong","family":"Zhang","sequence":"additional","affiliation":[{"name":"State Key Laboratory for Novel Software Technology and the Software Institute, Nanjing University, Nanjing, Jiangsu Province, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4011-5350","authenticated-orcid":false,"given":"Minxue","family":"Pan","sequence":"additional","affiliation":[{"name":"State Key Laboratory for Novel Software Technology and the Software Institute, Nanjing University, Nanjing, Jiangsu Province, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chang","family":"Xu","sequence":"additional","affiliation":[{"name":"State Key Laboratory for Novel Software Technology and the Software Institute, Nanjing University, Nanjing, Jiangsu Province, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3723-7584","authenticated-orcid":false,"given":"Yu","family":"Zhou","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing, Jiangsu Province, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhiqiu","family":"Huang","sequence":"additional","affiliation":[{"name":"College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing, Jiangsu Province, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2022,4,9]]},"reference":[{"key":"e_1_3_3_2_2","doi-asserted-by":"publisher","DOI":"10.1109\/MS.2017.31"},{"key":"e_1_3_3_3_2","doi-asserted-by":"publisher","DOI":"10.5555\/645920.672836"},{"key":"e_1_3_3_4_2","doi-asserted-by":"publisher","DOI":"10.1145\/3239235.3239524"},{"key":"e_1_3_3_5_2","doi-asserted-by":"publisher","DOI":"10.1109\/ESEM.2019.8870187"},{"key":"e_1_3_3_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/3338906.3338939"},{"key":"e_1_3_3_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/2597073.2597083"},{"key":"e_1_3_3_8_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2019.00052"},{"key":"e_1_3_3_9_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-012-9231-y"},{"key":"e_1_3_3_10_2","unstructured":"S. Bennett. 2012. 10 Things I Hate About Git. Retrieved August 15 2021 from http:\/\/stevebennett.me\/2012\/02\/24\/10-things-ihate-about-git\/."},{"key":"e_1_3_3_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/3196321.3196333"},{"key":"e_1_3_3_12_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2016.2576451"},{"key":"e_1_3_3_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/2961111.2962585"},{"key":"e_1_3_3_14_2","doi-asserted-by":"publisher","DOI":"10.5555\/2695634"},{"key":"e_1_3_3_15_2","doi-asserted-by":"publisher","DOI":"10.1145\/3368089.3409759"},{"key":"e_1_3_3_16_2","first-page":"123","volume-title":"Proceedings of the Psychology of Programming Interest Group Annual Conference","author":"Church Luke","year":"2014","unstructured":"Luke Church, Emma S\u00f6derberg, and Elayabharath Elango. 2014. A case of computational thinking: The subtle effect of hidden dependencies on the user experience of version control. In Proceedings of the Psychology of Programming Interest Group Annual Conference. 123\u2013128."},{"key":"e_1_3_3_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380404"},{"key":"e_1_3_3_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/2983990.2984018"},{"key":"e_1_3_3_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/3412845"},{"key":"e_1_3_3_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00080"},{"key":"e_1_3_3_21_2","unstructured":"GitHub Inc.2020. The 2020 State of the Octoverse. Retrieved May 20 2021 from https:\/\/octoverse.github.com\/."},{"key":"e_1_3_3_22_2","article-title":"Is It Any Good?","author":"Inc. GitLab","year":"2020","unstructured":"GitLab Inc.2020. Is It Any Good?Retrieved May 20, 2021 from https:\/\/about.gitlab.com\/is-it-any-good\/.","journal-title":"https:\/\/about.gitlab.com\/is-it-any-good\/"},{"key":"e_1_3_3_23_2","unstructured":"Stack Exchange Inc.2020. Stack Exchange Dump. Retrieved May 20 2021 from https:\/\/archive.org\/details\/stackexchange."},{"key":"e_1_3_3_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3338906.3338955"},{"key":"e_1_3_3_25_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2020.106394"},{"key":"e_1_3_3_26_2","doi-asserted-by":"publisher","DOI":"10.5555\/3155562.3155583"},{"key":"e_1_3_3_27_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-45231-7_22"},{"key":"e_1_3_3_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/2884781.2884840"},{"key":"e_1_3_3_29_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2020.3038681"},{"key":"e_1_3_3_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3238147.3238190"},{"key":"e_1_3_3_31_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00026"},{"key":"e_1_3_3_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3368089.3409764"},{"key":"e_1_3_3_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/1978942.1979366"},{"key":"e_1_3_3_34_2","unstructured":"Slashdot Media. 2020. About Sourceforge. Retrieved May 20 2021 from https:\/\/sourceforge.net\/about."},{"key":"e_1_3_3_35_2","doi-asserted-by":"publisher","DOI":"10.1145\/3084226.3084267"},{"key":"e_1_3_3_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/2884781.2884790"},{"key":"e_1_3_3_37_2","unstructured":"[n.d.]. 2009. Retrieved May 20 2021 from https:\/\/stackoverflow.com\/questions\/927358\/how-do-i-undo-the-most-recent-local-commits-in-git."},{"key":"e_1_3_3_38_2","unstructured":"[n.d.]. 2009. Retrieved May 20 2021 from https:\/\/stackoverflow.com\/questions\/1469623\/a-few-basic-version-control-questions."},{"key":"e_1_3_3_39_2","unstructured":"[n.d.]. 2013. Retrieved May 20 2021 from https:\/\/stackoverflow.com\/questions\/17371955\/verifying-signed-git-commits."},{"key":"e_1_3_3_40_2","unstructured":"[n.d.]. 2014. Retrieved May 20 2021 from https:\/\/stackoverflow.com\/questions\/27508982\/interpreting-git-diff-output."},{"key":"e_1_3_3_41_2","unstructured":"[n.d.]. 2018. Retrieved May 20 2021 from https:\/\/stackoverflow.com\/questions\/50827060\/where-can-i-report-a-github-bug."},{"key":"e_1_3_3_42_2","unstructured":"[n.d.]. 2020. Retrieved May 20 2021 from https:\/\/stackoverflow.com\/questions\/62701501\/git-checkout-vs-restore-single-file."},{"key":"e_1_3_3_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/2509578.2509584"},{"key":"e_1_3_3_44_2","unstructured":"Atlassian Corp Plc. 2019. Celebrating 10 Million Bitbucket Cloud Registered Users. Retrieved May 20 2021 from https:\/\/bitbucket.org\/blog\/celebrating-10-million-bitbucket-cloud-registered-users."},{"key":"e_1_3_3_45_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISESE.2003.1237967"},{"key":"e_1_3_3_46_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9379-3"},{"key":"e_1_3_3_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3313831.3376768"},{"key":"e_1_3_3_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/1985793.1985907"},{"key":"e_1_3_3_49_2","doi-asserted-by":"publisher","DOI":"10.1109\/SocialCom.2013.35"},{"key":"e_1_3_3_50_2","doi-asserted-by":"publisher","DOI":"10.24963\/ijcai.2019\/552"},{"key":"e_1_3_3_51_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11390-016-1672-0"},{"key":"e_1_3_3_52_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISSRE.2019.00020"},{"key":"e_1_3_3_53_2","doi-asserted-by":"publisher","DOI":"10.1145\/3213846.3213866"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3494518","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3494518","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T20:48:43Z","timestamp":1750193323000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3494518"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,4,9]]},"references-count":52,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2022,7,31]]}},"alternative-id":["10.1145\/3494518"],"URL":"https:\/\/doi.org\/10.1145\/3494518","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,4,9]]},"assertion":[{"value":"2021-05-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-10-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-04-09","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}