Git and GitHub

What is Git?

Git is a version control system for tracking changes you make to files. 

What is GitHub?

A code hosting platform for version control and collaboration. It's pretty much an interface for using Git. 

Why should you use Git and/or GitHub?

Have you ever fixed something in your code and everything else broke and you lost the original code? Have you ever wanted to rewrite your code so you commented out the existing 500 lines just in case it fails? Have you ever worked on a project with a friend and they copied and pasted the code onto google docs? 

  • Keep track of the changes you've made

  • Easy collaboration with other developers

  • Access your code from anywhere + free backup of your work

  • Showcase your projects to companies 

  • View other cool repositories and contribute to open-sourced projects

What are some of the things you can do with Git?

  • See changes history

  • Revert back changes you've made

  • Revert back multiple changes you've made!

  • Create multiple versions of the code (branches) without them clashing with one another

    • Ex. for our flight computer SPICA, we have a version with an altimeter, another one with the high g accel, one with all the sensors etc. 

  • Merge multiple development branches together 

  • Many more!

What are some of the things you can do with GitHub?

  • Access your code from any devices 

  • Submit an issue to keep track of bugs

  • Create a pull request, allowing other collaborators to review and approve your code

  • Show off your projects!

  • Keep track of releases

  • Many more!

How do I get started?