What is Git?
Git A version control system that helps a software team manage changes to source code over time. Version control software keeps track of every modification to the code in a special kind of database. If a mistake is made, developers can turn back the clock and compare earlier versions of the code to help fix the mistake while minimizing disruption to all team members.
What is GitHub?
GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. Think of it as a dropbox for code.
Why Should I Use These?
Git and GitHub allow you to have all of your code in one place, whether locally, remotely, or both, as well as providing an easy way to sync your code. It also keeps track of changes to your code automatically
You can also easily share with others through GitHub (or other remote repository).
Providing source code for analysis scripts and software is required for publishing where these custom codebases/workflows were used.
When used with other tools (Docker, Jupyter) you can have a fully functioning environment/instance of your code up in minutes.
Which Should I Use?
Ideally you would use both. These tools compliment each other though they can be used independently though it will not be as seamless of an experience.
Follow Along!
Check out the slides below to follow along and get familiar with both tools:
For a more in depth look into using these tools, check out this book from the people at Git.