1 of 24

Orientation

2 of 24

Things We’ll Cover Today

  • Getting Started with Git & GitHub
    • What is the difference between Git & GitHub?
    • How we will use Git & GitHub in the Tech Mom’s 2.0 Data Analytics Class
    • What is Markdown?
    • What does it mean to “fork” a repository?
    • What does it mean to “Submit a Pull Request?”

​

3 of 24

“Almost everyone is afraid of GitHub.”

  • Mikel Blake, Tech-Moms co-founder

4 of 24

Vocabulary Words

Git

GitHub

Repository

README

Markdown

Fork

Pull Request

5 of 24

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.

6 of 24

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.

7 of 24

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.

8 of 24

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.

9 of 24

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.

10 of 24

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

​

11 of 24

The best place to share and collaborate on code.

‘The best place to share and collaborate on code’

12 of 24

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.

​

​

​

13 of 24

Top 5 Reasons to use Git & GitHub

1. Learning Industry Standards

​

2. Portfolio Development

​

3. Resource Sharing and Feedback

​

4. Collaboration

​

5. Version Control

​

​

​

14 of 24

How we will use GitHub: curriculum

15 of 24

How we will use GitHub: resource hub

16 of 24

How we will use GitHub: portfolio hosting

17 of 24

Questions???

18 of 24

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.

​

19 of 24

‘GitHub is best platform for economic empowerment.’

  • Alyson La

20 of 24

Other set up things

  • If you have a second monitor, it will be very helpful for class so you can have zoom on one screen and work on the second screen
  • Make sure you have a text editor like Visual Studio Code
  • Download Git for local version control

21 of 24

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

22 of 24

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

23 of 24

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 🎉

​

24 of 24

Command Line Basics

# make a file folder (directory)

mkdir

​

  • Example: mkdir new_folder

​

# changes the current directory to a specified directory

cd

​

  • Example: cd Documents

​

  • Note: cd .. goes up one directory level

​

#lists the files and directories in current directory

ls

​

  • Example: Documents, Downloads, Music, Pictures

​

​

​