CyVerse_logo2

Home_Icon2 Learning Center Home

GitHub

Version Control is an important component in software development which manages changes to documents, websites, code, or other digital information. Version control can save you when code changes break things. Web hosting of your code repositories lets you share and work on code together and save your work in the event of a hardware failure.

The most commmon version control software in data science are git, svn, cvs, and bzr.

Given the limited amount of time we have this week, we are only going to cover Git and one web-based hosting service (GitHub) in this camp.

In this lesson you will learn how to:

  • Interact with git via GitHub
    • Using a browser
    • Using the command line
  • Add collaborators to your organization
  • Initialize a git repository on the command line and push it to GitHub
    • Push/pull files
    • Commit to GitHub
  • Learn about versions
    • Forks
    • Branches
    • Merges
    • Revert
    • Releases
    • Badging

Important

GitHub is not really intended for storing or manipulating data