%0 Conference Paper %B Proceedings of the 6th International Working Conference on Mining Software Repositories, MSR 2009 %D 2009 %T The promises and perils of mining git %A Christian Bird %A Peter C. Rigby %A Earl T. Barr %A David J. Hamilton %A Daniel M. Germán %A Premkumar T. Devanbu %K dscm %K git %K mining %K scm %K source code %X We are now witnessing the rapid growth of decentralized source code management (DSCM) systems, in which every developer has her own repository. DSCMs facilitate a style of collaboration in which work output can flow sideways (and privately) between collaborators, rather than always up and down (and publicly) via a central repository. Decentralization comes with both the promise of new data and the peril of its misinterpretation. We focus on git, a very popular DSCM used in high-profile projects. Decentralization, and other features of git, such as automatically recorded contributor attribution, lead to richer content histories, giving rise to new questions such as "How do contributions flow between developers to the official project repository?" However, there are pitfalls. Commits may be reordered, deleted, or edited as they move between repositories. The semantics of terms common to SCMs and DSCMs sometimes differ markedly, potentially creating confusion. For example, a commit is immediately visible to all developers in centralized SCMs, but not in DSCMs. Our goal is to help researchers interested in DSCMs avoid these and other perils when mining and analyzing git data. %B Proceedings of the 6th International Working Conference on Mining Software Repositories, MSR 2009 %P 1-10 %> https://flosshub.org/sites/flosshub.org/files/1promisePeril.pdf