Orientation
Things We’ll Cover Today
“Almost everyone is afraid of GitHub.”
Vocabulary Words
Git
GitHub
Repository
README
Markdown
Fork
Pull Request
Git vs GitHub
Git is a software tool that helps you keep track of changes in your files, especially code. Think of it as a super-charged version of "Track Changes" in a word processor, but for any kind of file. It lets you save different versions of your files over time, so you can always go back and see what you did or undo mistakes. It works on your computer.
Git vs GitHub
GitHub is a website where you can store these tracked changes and versions online. It's like a combination of cloud storage (like Google Drive or Dropbox) and a social network for coders. You can share your files with others, collaborate on projects, and even contribute to other people's projects. GitHub uses Git to manage all these changes and collaborations.
What is Markdown?
Markdown: a lightweight markup language with plain text formatting syntax, designed to be easy to read and write, and is often used for writing documentation and formatting readme files on GitHub.
What does it mean to “Fork a Repository?”
Fork: to create a personal copy of someone else's project repository on your GitHub account, allowing you to freely experiment and make changes without affecting the original project.
What does it mean to “Submit a Pull Request?”
Pull Request: is a feature in version control systems like GitHub that allows developers to notify team members about changes they've pushed to a repository, facilitating code review and collaboration before merging the changes into the main project.
What is an Octocat?
Octocat: GitHub's mascot, a whimsical half-cat, half-octopus creature symbolizing creativity, collaboration, and the fun side of coding and open-source culture.
See octodex.github.com�See myoctocat.com
The best place to share and collaborate on code.
‘The best place to share and collaborate on code’
Examples of Cool Projects Hosted on GitHub
bitcoin - bitcoin code base
remotejobsintech - A list of semi to fully remote-friendly companies (jobs) in tech.
freecodecamp - freeCodeCamp.org's open-source codebase and curriculum.
Top 5 Reasons to use Git & GitHub
1. Learning Industry Standards
2. Portfolio Development
3. Resource Sharing and Feedback
4. Collaboration
5. Version Control
How we will use GitHub: curriculum
How we will use GitHub: resource hub
How we will use GitHub: portfolio hosting
Questions???
Vocabulary
Git: Git is a distributed version control system that tracks changes in source code during software development.
GitHub: GitHub is a web-based platform for hosting and managing Git repositories, facilitating collaboration and sharing code.
Repository: A repository is a storage location for software projects, containing all files, code, and history of changes.
README: A README file provides an overview and essential information about a project, typically written in Markdown.
Markdown: Markdown is a lightweight markup language for creating formatted text using simple plain text syntax.
Fork: Forking creates a personal copy of someone else's repository, allowing you to experiment without affecting the original.
Pull Request: A pull request is a proposal to merge changes from one branch or fork into another branch or repository.
Octocat: GitHub's mascot, a whimsical half-cat, half-octopus creature symbolizing creativity, collaboration, and the fun side of coding and open-source culture.
‘GitHub is best platform for economic empowerment.’
Other set up things
Video Tutorials for using the Command Line & Git/GitHub
Make an HTML Game using ChatGPT featuring Alyson and her daughter Didi: https://www.loom.com/share/8bf169c183e14010bface6dad211de62
Publish your game on GitHub: https://www.loom.com/share/6ccce0db19e94413a77eeff45d86856d
Git Basics
# initialize local git repository
git init
# add all the files in the directory to “staging” area
git add .
#here you add a message and commit changes to repo
git commit -m “add message here”
#add local files to remote GitHub repo
git push -u origin main
Practice Time!
Step 1: Login to GitHub
Step 2: Create a repository “data-analytics-resources”
Step 3: Edit the README file using Markdown
Step 4: Add some data analytics resources
Step 5: Commit changes
Step 6: Celebrate 🎉
Command Line Basics
# make a file folder (directory)
mkdir
# changes the current directory to a specified directory
cd
#lists the files and directories in current directory
ls