Skip to main content

Furthering Open Science in Behavior Analysis: An Introduction and Tutorial for Using GitHub in Research


Open and transparent practices in scholarly research are increasingly encouraged by academic journals and funding agencies. Various elements of behavior analytic research are communicated transparently, though it is not common practice to archive study materials to support future replications. This tutorial presents a review of the Transparent and Open Practices guidelines provided by the Open Science Foundation and provides instructions on how behavior analysts can use GitHub transparency in research across multiple levels. GitHub is presented as a service that can be used to publicly archive various elements of research and is uniquely suited to research that is technical, data driven, and collaborative. The GitHub platform is reviewed, and the steps necessary to create an account, initialize repositories, archive study files, and synchronize changes to remote repositories are described in several examples. Implications of increased calls for transparency and modern statistical methods are discussed with regard to behavior analysis, and archiving platforms such as GitHub are reviewed as one means of supporting transparent research.

This is a preview of subscription content, access via your institution.

Figure 1
Figure 2
Figure 3
Figure 4


  1. The history of the Wikipedia entry related to “Perspectives on Behavior Science” is available at

  2. Numbers provided from as of September 1, 2018.

  3. The current location for downloading this program is

  4. We note here that a “.gitignore” file can be used to determine which files are tracked and which are ignored. Intermediate build objects and other binaries are traditionally not tracked because such objects are unlikely to be useful on other machines and are not tracked for this reason.

  5. We note that GitHub users may push changes to private repositories, though the primary focus of this tutorial is on the public archiving of files. Repositories that are kept private can be made public later (e.g., after submission for publication).

  6. The GitHub repository for the AAC application is available at

  7. The GitHub repository for the novel behavioral economic calculation is available at

  8. We note here that Gilroy et al. (2019) validated a novel calculation of unit elasticity for models of operant demand.

  9. Given nature of this particular example, it is likely that users of this level of proficiency would more likely perform this operation via the command line using “git clone[username]/beezdemand.git.”


Download references

Author information

Authors and Affiliations


Corresponding author

Correspondence to Shawn P. Gilroy.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Gilroy, S.P., Kaplan, B.A. Furthering Open Science in Behavior Analysis: An Introduction and Tutorial for Using GitHub in Research. Perspect Behav Sci 42, 565–581 (2019).

Download citation

  • Published:

  • Issue Date:

  • DOI: