4. ๐ŸŒณ Githubยถ

๐Ÿ—„ What is Github?ยถ

  • GitHub is like google drive + soundcloud + facebook for coders, a place to store code, post, share and discuss.

  • GitHub is built on Git which is a software for tracking changes. Everyone can independently work on their own copy of the code, and merge the changes together from different branches.

๐Ÿ’ฉ What is a GitHub Repository?ยถ

  • This group is a GitHub Repository (not suppository)! Repository or โ€œrepoโ€ as they say in the biz is a collection of files and discussions, basically a digital filing cabinet.

  • Every Github repo starts with a readme, a welcome first page. ๐Ÿ“–

๐ŸŒด What are GitHub branches?ยถ

  • GitHub is a collaborative project, and so people can have different branches of what theyโ€™re working on.

  • On GitHub you work on your own branch, which is a copy of the main code.

๐Ÿ”€ How do you make changes on GitHub?ยถ

  • A Pull Request (PR) is a request to review and modify code. To pull a branch into another branch.

  • You can also edit code โ€œlocallyโ€ by making a copy of the code and editing it on your computer, and when you send it to github from your computer this is called pushing code.

โœ”๏ธ How to review and merge a pull request?ยถ

  • Pull Request Review: Anyone can review any pull request, to say whether they approve of it or not. You can only review pull requests, before they are merged.

  • Some projects require a core project person to review pull requests, before they are merged.

  • Merging Pull Request: To actually modify the branch to add the new code.

๐Ÿ‘” What is GitHub Etiquette?ยถ

  • You should comment when you are working on something on the issue, to avoid many people doing the same work. If multiple people edit the same section then you have to manually merge which is annoying.

๐Ÿค™ DIYยถ

  1. Make a GitHub Account username/password, https://github.com/

  2. Watch and star our GitHub repo https://github.com/saulshanabrook/jupyterlab-accessibility, this will give you notifications. Side note, this is the main JupyterLab repository, but you donโ€™t need to subscribe since itโ€™s a lot.

  3. Peruse around the repo, you can see the readme, issues, pull requests, discussion, and insights. Screenshot of github repo

๐Ÿ’ก More resourcesยถ

  • HelloWorld Guide

  • Layout of Projects

๐Ÿค“ Quizยถ

What software for tracking changes is GitHub built on? Git